summaryrefslogtreecommitdiff
path: root/ext/gd/tests/bug43828.phpt
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-09-11 13:26:30 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2016-09-11 13:26:30 +0200
commitcd16b64f0100cbeae4458e98b59b2c6c23c14982 (patch)
tree659a063939721943f9d02afe37a0fb1863f67764 /ext/gd/tests/bug43828.phpt
parent95e4e6a3ce35757c1d681fad3f1926d204dc746e (diff)
parentdc09f309335cf8df7d39adc03580ac8d4f0c78f5 (diff)
downloadphp-git-cd16b64f0100cbeae4458e98b59b2c6c23c14982.tar.gz
Merge branch 'PHP-5.6' into PHP-7.0
Diffstat (limited to 'ext/gd/tests/bug43828.phpt')
-rw-r--r--ext/gd/tests/bug43828.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/gd/tests/bug43828.phpt b/ext/gd/tests/bug43828.phpt
index 43d11ae356..0f130d28fd 100644
--- a/ext/gd/tests/bug43828.phpt
+++ b/ext/gd/tests/bug43828.phpt
@@ -17,10 +17,10 @@ imagefilledrectangle($im, 0,0, 99,99, $transparent);
$color = imagecolorallocatealpha($im, 0, 255, 0, 100);
imagefilledarc($im, 49, 49, 99,99, 0 , 360, $color, IMG_ARC_PIE);
-ob_start();
-imagegd($im);
-echo md5(ob_get_clean());
+include_once __DIR__ . '/func.inc';
+test_image_equals_file(__DIR__ . '/bug43828.png', $im);
+
imagedestroy($im);
?>
--EXPECT--
-2400a58cd7570b5472c25264715321cd
+The images are equal.