Permalink
Browse files

perltidy

  • Loading branch information...
1 parent ebf3565 commit b2df9dff942b113b691cd54b0c5c581cc24c58b8 @jtpalmer jtpalmer committed Sep 5, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 t/sdlx_surface.t
View
@@ -120,9 +120,9 @@ foreach my $c (@colors) {
my $color = ( $c->[0] << 24 ) + ( $c->[1] << 16 ) + ( $c->[2] << 8 ) + $c->[3];
$surfs[0]->draw_rect( [ 0, 0, 10, 20 ], $c );
- my $num = sprintf('0x%08x', $color);
+ my $num = sprintf( '0x%08x', $color );
- my $rgba = sprintf('0x%08x', $surfs[0]->[0][0] );
+ my $rgba = sprintf( '0x%08x', $surfs[0]->[0][0] );
is( $rgba, $num, "draw_rect uses correct color ($rgba) for $num" );
}

0 comments on commit b2df9df

Please sign in to comment.