Fix tests (new error message for void parameters)

This commit is contained in:
Felipe Pena 2008-03-10 23:14:11 +00:00
parent 9324869ef5
commit 1db52c1c5f
5 changed files with 8 additions and 8 deletions

View 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]=>

View 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

View 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
Done

View 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
Done

View 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===