]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 7 Nov 2010 18:09:32 +0000 (18:09 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 7 Nov 2010 18:09:32 +0000 (18:09 +0000)
PerlMagick/t/ping.t

index 9aaed684fe1922c617405756a5de08e64377a9a0..48ff5fb7077f3cff6b069641c6bf310abb70aabf 100644 (file)
@@ -30,7 +30,7 @@ $filename='input_p6.ppm';
 print "Ping \"$filename\" ...\n";
 $image=Image::Magick->new;
 ($width, $height, $size, $format)=$image->Ping("$filename");
-if (($width == 70) && ($height == 46) && ($size == 9673) && ($format eq "PNM"))
+if (($width == 70) && ($height == 46) && ($size == 9673) && ($format eq "PPM"))
   {
     print "ok $test\n";
   }
@@ -51,7 +51,7 @@ $image=Image::Magick->new;
 ($width, $height, $size, $format)=$image->Ping(blob=>@blob);
 undef @blob;
 undef $image;
-if (($width == 70) && ($height == 46) && ($size == 9673) && ($format eq "PNM"))
+if (($width == 70) && ($height == 46) && ($size == 9673) && ($format eq "PPM"))
   {
     print "ok $test\n";
   }