]> git.imager.perl.org - imager.git/commitdiff
use test files that exist
authorTony Cook <tony@develop=help.com>
Thu, 16 Sep 2010 13:21:25 +0000 (13:21 +0000)
committerTony Cook <tony@develop=help.com>
Thu, 16 Sep 2010 13:21:25 +0000 (13:21 +0000)
Changes
t/t105nogif.t
t/t106notiff.t

diff --git a/Changes b/Changes
index 6935310c8409d47f62654c594c039be2f5ba8b63..3acce129609a9779a8c2ec94b866e5d2d029bf43 100644 (file)
--- a/Changes
+++ b/Changes
@@ -8,6 +8,11 @@ Imager 0.77_02 - unreleased
    Uses Imager::Probe now.
    https://rt.cpan.org/Public/Bug/Display.html?id=61328
 
+Bug fixes:
+
+ - from _01: look for missing file support test files in the right
+   places.
+
 Imager 0.77_01 - 13 Sep 2010
 ==============
 
index b93ef7246a1166128f7a8705bc38da57be94b39c..bf053e8b0f092a4bcf454e3e095b59e3d0a2bf94 100644 (file)
@@ -10,10 +10,10 @@ $Imager::formats{"gif"}
 plan tests => 12;
 
 my $im = Imager->new;
-ok(!$im->read(file=>"testimg/scale.gif"), "should fail to read gif");
+ok(!$im->read(file=>"GIF/testimg/scale.gif"), "should fail to read gif");
 cmp_ok($im->errstr, '=~', "format 'gif' not supported",
        "check no gif message");
-ok(!Imager->read_multi(file=>"testimg/scale.gif"), 
+ok(!Imager->read_multi(file=>"GIF/testimg/scale.gif"), 
    "should fail to read multi gif");
 cmp_ok($im->errstr, '=~', "format 'gif' not supported",
        "check no gif message");
index 16f53d91bc6ddf7f95cc9e663ea11b00d940afed..0854640dad6fc7dbac31e5090d63f60c3c970e4a 100644 (file)
@@ -10,11 +10,11 @@ plan tests => 12;
 
 my $im = Imager->new;
 
-ok(!$im->read(file=>"testimg/comp4.tif"), "should fail to read tif");
+ok(!$im->read(file=>"TIFF/testimg/comp4.tif"), "should fail to read tif");
 cmp_ok($im->errstr, '=~', "format 'tiff' not supported",
        "check no tiff message");
 
-ok(!$im->read_multi(file => "testimg/comp4.tif"),
+ok(!$im->read_multi(file => "TIFF/testimg/comp4.tif"),
    "should fail to read multi tiff");
 cmp_ok($im->errstr, '=~', "format 'tiff' not supported",
        "check no tiff message");