From: andy wharmby Date: Tue, 16 Jun 2009 19:39:40 +0000 (+0000) Subject: New strcoll error test. Tested on Windows, Linux and Linux 64. X-Git-Tag: php-5.2.10~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eaf01568a1e87cc1965431052da68e1c06fa4970;p=php New strcoll error test. Tested on Windows, Linux and Linux 64. --- diff --git a/ext/standard/tests/strings/strcoll_error.phpt b/ext/standard/tests/strings/strcoll_error.phpt new file mode 100644 index 0000000000..72bbfea20e --- /dev/null +++ b/ext/standard/tests/strings/strcoll_error.phpt @@ -0,0 +1,44 @@ +--TEST-- +Test strcoll() function : error conditions +--FILE-- + +===Done=== +--EXPECTF-- +*** Testing strcoll() : error conditions *** + +-- Testing strcoll() function with no arguments -- + +Warning: Wrong parameter count for strcoll() in %s on line %d +NULL + +Warning: Wrong parameter count for strcoll() in %s on line %d +NULL + +-- Testing strcoll() function with one argument -- + +Warning: Wrong parameter count for strcoll() in %s on line %d +NULL + +-- Testing strcoll() function with more than expected no. of arguments -- + +Warning: Wrong parameter count for strcoll() in %s on line %d +NULL +===Done===