From: Kalle Sommer Nielsen Date: Wed, 30 Jul 2008 04:35:57 +0000 (+0000) Subject: MFH: Add test for imagecolorclosesthwb() X-Git-Tag: php-5.3.0alpha1~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d2f6a57f15ea3b660fd3270b40435949dfeb847;p=php MFH: Add test for imagecolorclosesthwb() --- diff --git a/ext/gd/tests/imagecolorclosesthwb.phpt b/ext/gd/tests/imagecolorclosesthwb.phpt new file mode 100644 index 0000000000..fe3927896e --- /dev/null +++ b/ext/gd/tests/imagecolorclosesthwb.phpt @@ -0,0 +1,27 @@ +--TEST-- +imagecolorclosesthwb() test +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +16724480 + +Warning: imagecolorclosesthwb\(\) expects exactly 4 parameters, 1 given in .* code on line \d+ + +Warning: imagecolorclosesthwb\(\) expects parameter 1 to be resource, null given in .* code on line \d+ + +Warning: imagecolorclosesthwb\(\) expects parameter 2 to be long, string given in .* code on line \d+ \ No newline at end of file