Skip to content

Commit

Permalink
perltidy
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpalmer committed Sep 6, 2010
1 parent ebf3565 commit b2df9df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/sdlx_surface.t
Original file line number Diff line number Diff line change
Expand Up @@ -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" );
}
Expand Down

0 comments on commit b2df9df

Please sign in to comment.