diff options
author | Anatol Belski <ab@php.net> | 2016-08-16 14:41:24 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-08-16 14:41:24 +0200 |
commit | d926a48fd27942d15190a6defdcb05b1e07c9701 (patch) | |
tree | e013bdf083914047bbfd2440d90830e6c90e948a | |
parent | 28022c9b1fd937436ab67bb3d61f652c108baf96 (diff) | |
download | php-git-d926a48fd27942d15190a6defdcb05b1e07c9701.tar.gz |
fix tests
-rw-r--r-- | ext/gd/tests/imagetruecolortopalette_error3.phpt | 2 | ||||
-rw-r--r-- | ext/gd/tests/imagetruecolortopalette_error4.phpt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/gd/tests/imagetruecolortopalette_error3.phpt b/ext/gd/tests/imagetruecolortopalette_error3.phpt index de3a62d0a5..46e3f487e0 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 integer, resource g Warning: imagetruecolortopalette() expects parameter 3 to be integer, 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 diff --git a/ext/gd/tests/imagetruecolortopalette_error4.phpt b/ext/gd/tests/imagetruecolortopalette_error4.phpt index b9661e3b85..f0e18b86be 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 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 line %d |