diff --git a/ext/gd/tests/imagecreate_error_oversized.phpt b/ext/gd/tests/imagecreate_error_oversized.phpt index 333a6e7c2086..23e90231f8f0 100644 --- a/ext/gd/tests/imagecreate_error_oversized.phpt +++ b/ext/gd/tests/imagecreate_error_oversized.phpt @@ -4,7 +4,7 @@ imagecreate()/imagecreatetruecolor(): oversized dimensions produce a correct err gd --FILE-- getMessage(), "\n"; } try { imagecreate(1, $v); } catch (Throwable $e) { echo $e::class, ': ', $e->getMessage(), "\n"; } try { imagecreatetruecolor($v, 1); } catch (Throwable $e) { echo $e::class, ': ', $e->getMessage(), "\n"; } @@ -20,7 +20,3 @@ ValueError: imagecreate(): Argument #1 ($width) must be greater than 0 and less ValueError: imagecreate(): Argument #2 ($height) must be greater than 0 and less than %d ValueError: imagecreatetruecolor(): Argument #1 ($width) must be greater than 0 and less than %d ValueError: imagecreatetruecolor(): Argument #2 ($height) must be greater than 0 and less than %d -ValueError: imagecreate(): Argument #1 ($width) must be greater than 0 and less than %d -ValueError: imagecreate(): Argument #2 ($height) must be greater than 0 and less than %d -ValueError: imagecreatetruecolor(): Argument #1 ($width) must be greater than 0 and less than %d -ValueError: imagecreatetruecolor(): Argument #2 ($height) must be greater than 0 and less than %d