com php-src: fix tests: ext/gd/tests/imagetruecolortopalette_ error3.phpt ext/gd/tests/imagetruecolortopalette_error 4.phpt

From: Date: Tue, 16 Aug 2016 12:41:24 +0000
Subject: com php-src: fix tests: ext/gd/tests/imagetruecolortopalette_ error3.phpt ext/gd/tests/imagetruecolortopalette_error 4.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-93854@lists.php.net to get a copy of this message
Commit: d926a48fd27942d15190a6defdcb05b1e07c9701 Author: Anatol Belski <ab@php.net> Tue, 16 Aug 2016 14:41:24 +0200 Parents: 28022c9b1fd937436ab67bb3d61f652c108baf96 Branches: PHP-7.0 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d926a48fd27942d15190a6defdcb05b1e07c9701 Log: fix tests Changed paths: M ext/gd/tests/imagetruecolortopalette_error3.phpt M ext/gd/tests/imagetruecolortopalette_error4.phpt Diff: diff --git a/ext/gd/tests/imagetruecolortopalette_error3.phpt b/ext/gd/tests/imagetruecolortopalette_error3.phpt index de3a62d..46e3f48 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 b9661e3..f0e18b8 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

« previous php.cvs (#93854) next »