use a test image file that's actually available
authorTony Cook <tony@develop=help.com>
Fri, 6 Aug 2010 10:42:33 +0000 (10:42 +0000)
committerTony Cook <tony@develop=help.com>
Fri, 6 Aug 2010 10:42:33 +0000 (10:42 +0000)
t/t102nopng.t

index 9ba2eb83a729d56a9a8580abef56b5ade6f13da8..350958238e869aca4db53d547b89e9c459a7226a 100644 (file)
@@ -9,7 +9,7 @@ $Imager::formats{"png"}
 plan tests => 6;
 
 my $im = Imager->new;
-ok(!$im->read(file=>"testimg/palette.png"), "should fail to read png");
+ok(!$im->read(file=>"testimg/test.png"), "should fail to read png");
 cmp_ok($im->errstr, '=~', "format 'png' not supported", "check no png message");
 $im = Imager->new(xsize=>2, ysize=>2);
 ok(!$im->write(file=>"testout/nopng.png"), "should fail to write png");