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

From: Date: Thu, 18 Aug 2016 10:54:00 +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-93942@lists.php.net to get a copy of this message
Commit: 64e4b276bda8bfa504df8acb40d07369b8d124b3 Author: Stanislav Malyshev <stas@php.net> Tue, 16 Aug 2016 16:47:53 -0700 Committer: Ferenc Kovacs <tyra3l@gmail.com> Thu, 18 Aug 2016 12:54:00 +0200 Parents: f01446dacf3eeab888b500115f0d71df7918c353 Branches: PHP-5.6.25 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=64e4b276bda8bfa504df8acb40d07369b8d124b3 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 d65a995..dbbdb08 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 b9661e3..1d56bfc 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

« previous php.cvs (#93942) next »