projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d7e312
)
use a test image file that's actually available
author
Tony Cook
<tony@develop=help.com>
Fri, 6 Aug 2010 10:42:33 +0000
(10:42 +0000)
committer
Tony Cook
<tony@develop=help.com>
Fri, 6 Aug 2010 10:42:33 +0000
(10:42 +0000)
t/t102nopng.t
patch
|
blob
|
blame
|
history
diff --git
a/t/t102nopng.t
b/t/t102nopng.t
index 9ba2eb83a729d56a9a8580abef56b5ade6f13da8..350958238e869aca4db53d547b89e9c459a7226a 100644
(file)
--- a/
t/t102nopng.t
+++ b/
t/t102nopng.t
@@
-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");