]> granicus.if.org Git - php/commitdiff
Fix tests (new error message for void parameters)
authorFelipe Pena <felipe@php.net>
Mon, 10 Mar 2008 23:14:11 +0000 (23:14 +0000)
committerFelipe Pena <felipe@php.net>
Mon, 10 Mar 2008 23:14:11 +0000 (23:14 +0000)
Zend/tests/014.phpt
ext/filter/tests/008.phpt
ext/standard/tests/class_object/get_declared_classes_error_001.phpt
ext/standard/tests/class_object/get_declared_interfaces_error_001.phpt
ext/standard/tests/dir/getcwd_error.phpt

index f65f2a3287cd10be4d627d76a3ffc27a922cbe3d..25995b797609448f2787dcc3d57ccff489721946 100644 (file)
@@ -32,7 +32,7 @@ array(2) {
   string(%d) "%s"
 }
 
-Warning: Wrong parameter count for get_included_files() in %s on line %d
+Warning: get_included_files() expects exactly 0 parameters, 2 given in %s on line %d
 NULL
 array(2) {
   [0]=>
@@ -41,7 +41,7 @@ array(2) {
   string(%d) "%s"
 }
 
-Warning: Wrong parameter count for get_included_files() in %s on line %d
+Warning: get_included_files() expects exactly 0 parameters, 1 given in %s on line %d
 NULL
 array(2) {
   [0]=>
index e6c646d6756b1374bacdf659e58f7cf66beecb98..7ba42fa7364a29155f3602e9a982bcbd8b3a31d3 100644 (file)
@@ -50,6 +50,6 @@ array(18) {
   string(8) "callback"
 }
 
-Warning: Wrong parameter count for filter_list() in %s on line %d
+Warning: filter_list() expects exactly 0 parameters, 1 given in %s on line %d
 NULL
 Done
index a508443678fbe23adadf3c7841bcc540859e12f0..d5b40beee862fb939ea97c574322468ae2c36ad5 100644 (file)
@@ -22,6 +22,6 @@ echo "Done";
 
 -- Testing get_declared_classes() function with one argument --
 
-Warning: Wrong parameter count for get_declared_classes() in %s on line 13
+Warning: get_declared_classes() expects exactly 0 parameters, 1 given in %s on line 13
 NULL
-Done
\ No newline at end of file
+Done
index 93aabb6f61a38f2645444a6020f1733cd5d9e236..2a7f308a340c056f30ffb9cfe2b3e58ed7c47409 100644 (file)
@@ -22,6 +22,6 @@ echo "Done";
 
 -- Testing get_declared_interfaces() function with one argument --
 
-Warning: Wrong parameter count for get_declared_interfaces() in %s on line 13
+Warning: get_declared_interfaces() expects exactly 0 parameters, 1 given in %s on line 13
 NULL
-Done
\ No newline at end of file
+Done
index 09ee254819a3a017b3b581265e2679cb5e2e15e3..153f303677966db905d1655b26013c6c7226e9b8 100644 (file)
@@ -24,6 +24,6 @@ var_dump( getcwd($extra_arg) );
 
 -- Testing getcwd() function with one argument --
 
-Warning: Wrong parameter count for getcwd() in %s on line %d
+Warning: getcwd() expects exactly 0 parameters, 1 given in %s on line %d
 NULL
 ===DONE===