diff options
Diffstat (limited to 'ext/gd/tests/imagecharup_basic.phpt')
-rw-r--r-- | ext/gd/tests/imagecharup_basic.phpt | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/ext/gd/tests/imagecharup_basic.phpt b/ext/gd/tests/imagecharup_basic.phpt index 194c32564d..50b0a59613 100644 --- a/ext/gd/tests/imagecharup_basic.phpt +++ b/ext/gd/tests/imagecharup_basic.phpt @@ -14,12 +14,8 @@ $white = imagecolorallocate($image, 255,255,255); $result = imagecharup($image, 1, 5, 5, 'C', $white); -ob_start(); -imagegd($image); -$img = ob_get_contents(); -ob_end_clean(); - -echo md5(base64_encode($img)); +include_once __DIR__ . '/func.inc'; +test_image_equals_file(__DIR__ . '/imagecharup_basic.png', $image); ?> --EXPECT-- -c65aad5d78f934dee2a844e7978eabd5 +The images are equal. |