com php-src: fix tests: ext/gd/tests/imagetruecolortopalette_ error3.phpt ext/gd/tests/imagetruecolortopalette_error 4.phpt
| From: | Stanislav Malyshev | Date: | Wed, 17 Aug 2016 05:55:43 +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-93819@lists.php.net to get a copy of this message | ||
Commit: d8b2de164e4900fe96094df7753d88a14893c7a5
Author: Stanislav Malyshev <stas@php.net> Tue, 16 Aug 2016 16:47:53 -0700
Parents: 40bd921cea0cfb96dd0a19d95ed19078d06a9988
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d8b2de164e4900fe96094df7753d88a14893c7a5
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