summaryrefslogtreecommitdiff
path: root/ext/gd
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2016-08-16 16:47:53 -0700
committerStanislav Malyshev <stas@php.net>2016-08-16 22:55:43 -0700
commitd8b2de164e4900fe96094df7753d88a14893c7a5 (patch)
tree456cd02a9213208385f9b86828d07c3c23baa92d /ext/gd
parent40bd921cea0cfb96dd0a19d95ed19078d06a9988 (diff)
downloadphp-git-d8b2de164e4900fe96094df7753d88a14893c7a5.tar.gz
fix tests
Diffstat (limited to 'ext/gd')
-rw-r--r--ext/gd/tests/imagetruecolortopalette_error3.phpt2
-rw-r--r--ext/gd/tests/imagetruecolortopalette_error4.phpt4
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/gd/tests/imagetruecolortopalette_error3.phpt b/ext/gd/tests/imagetruecolortopalette_error3.phpt
index d65a995014..dbbdb081cc 100644
--- a/ext/gd/tests/imagetruecolortopalette_error3.phpt
+++ b/ext/gd/tests/imagetruecolortopalette_error3.phpt
@@ -25,4 +25,4 @@ Warning: imagetruecolortopalette() expects parameter 3 to be long, resource give
Warning: imagetruecolortopalette() expects parameter 3 to be long, array given in %s on line %d
-Warning: imagetruecolortopalette(): Number of colors has to be greater than zero in %s on line %d \ No newline at end of file
+Warning: imagetruecolortopalette(): Number of colors has to be greater than zero and no more than %d in %s on line %d \ No newline at end of file
diff --git a/ext/gd/tests/imagetruecolortopalette_error4.phpt b/ext/gd/tests/imagetruecolortopalette_error4.phpt
index b9661e3b85..1d56bfcdf0 100644
--- a/ext/gd/tests/imagetruecolortopalette_error4.phpt
+++ b/ext/gd/tests/imagetruecolortopalette_error4.phpt
@@ -16,6 +16,6 @@ imagetruecolortopalette($image, true, -1);
?>
--EXPECTF--
-Warning: imagetruecolortopalette(): Number of colors has to be greater than zero in %s on line %d
+Warning: imagetruecolortopalette(): Number of colors has to be greater than zero and no more than %d in %s on line %d
-Warning: imagetruecolortopalette(): Number of colors has to be greater than zero in %s on line %d \ No newline at end of file
+Warning: imagetruecolortopalette(): Number of colors has to be greater than zero and no more than %d in %s on line %d \ No newline at end of file