]> granicus.if.org Git - php/commitdiff
Make this test also a little more resilient
authorChristoph M. Becker <cmbecker69@gmx.de>
Wed, 17 Aug 2016 17:09:31 +0000 (19:09 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Wed, 17 Aug 2016 17:09:31 +0000 (19:09 +0200)
See <http://git.php.net/?p=php-src.git;a=commit;h=a3159d29bb24d5c946c14b7aa33e96bebcd56e59>.

ext/gd/tests/bug22544-mb.phpt

index 94d16ab96b2f1777f1c0cf1b4d5fa898a2a07b28..d4f5929d6d09052c640717281f8879b15945f86a 100644 (file)
@@ -15,9 +15,9 @@ Bug #22544 (TrueColor transparency in PNG images).
        $red = imageColorAllocate($image, 255, 50, 50);
        imageColorTransparent($image, $transparent);
        imageFilledRectangle($image, 0, 0, 640-1, 100-1, $transparent);
-       imagePng($image, $dest);
+       imagegd($image, $dest);
        echo md5_file($dest) . "\n";
        @unlink($dest);
 ?>
 --EXPECT--
-10a57d09a2c63fad87b85b38d6b258d6
+7643ef115f642a79c2de6e411f485ddd