Skip to content

Commit

Permalink
compare unpacked data to avoid unintelligble cpan testers output
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycoz committed Feb 25, 2012
1 parent 3f53dd7 commit 5ee6074
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/t01introvert.t
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ is(Imager::i_img_type($im_pal), 0, "pal img shouldn't be paletted now");
is_color3($colors[1], 0, 255, 0, "still green");
is_color3($colors[2], 0, 0, 255, "still blue");
is_color3($colors[3], 0, 0, 0, "still black");
is(Imager::i_gsamp($im_pal2, 0, 100, 0, [ 0, 1, 2 ]),
"\0\xFF\0\0\0\0"."\xFF\0\0" x 48 . "\0\0\xFF" x 50,
is(unpack("C", Imager::i_gsamp($im_pal2, 0, 100, 0, [ 0, 1, 2 ])),
unpack("C", "\0\xFF\0\0\0\0"."\xFF\0\0" x 48 . "\0\0\xFF" x 50),
"colors are still correct");
}

Expand Down

0 comments on commit 5ee6074

Please sign in to comment.