mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Rename poorly named tests in Zend/tests
(#19332)
And move some into their relevant folders
This commit is contained in:
parent
dad28a30f3
commit
e43074a1d8
35 changed files with 9 additions and 9 deletions
|
@ -1,3 +0,0 @@
|
|||
<?php
|
||||
/* dummy file for 014.phpt */
|
||||
?>
|
|
@ -104,7 +104,7 @@ int(10)
|
|||
func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the currently executed function
|
||||
int(1)
|
||||
func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the currently executed function
|
||||
Exception: Too few arguments to function test2(), 0 passed in %s002.php on line %d and exactly 1 expected
|
||||
Exception: Too few arguments to function test2(), 0 passed in %s on line %d and exactly 1 expected
|
||||
int(1)
|
||||
int(2)
|
||||
func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the currently executed function
|
|
@ -59,7 +59,7 @@ array(1) {
|
|||
[0]=>
|
||||
int(1)
|
||||
}
|
||||
Exception: Too few arguments to function test2(), 0 passed in %s003.php on line %d and exactly 1 expected
|
||||
Exception: Too few arguments to function test2(), 0 passed in %s on line %d and exactly 1 expected
|
||||
array(2) {
|
||||
[0]=>
|
||||
int(1)
|
||||
|
@ -68,7 +68,7 @@ array(2) {
|
|||
}
|
||||
array(0) {
|
||||
}
|
||||
Exception: Too few arguments to function test3(), 1 passed in %s003.php on line %d and exactly 2 expected
|
||||
Exception: Too few arguments to function test3(), 1 passed in %s on line %d and exactly 2 expected
|
||||
array(2) {
|
||||
[0]=>
|
||||
int(1)
|
3
Zend/tests/get_included_files_basic.inc
Normal file
3
Zend/tests/get_included_files_basic.inc
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
/* dummy file for get_included_files_basic.phpt */
|
||||
?>
|
|
@ -5,13 +5,13 @@ get_included_files() tests
|
|||
|
||||
var_dump(get_included_files());
|
||||
|
||||
include(__DIR__."/014.inc");
|
||||
include(__DIR__."/get_included_files_basic.inc");
|
||||
var_dump(get_included_files());
|
||||
|
||||
include_once(__DIR__."/014.inc");
|
||||
include_once(__DIR__."/get_included_files_basic.inc");
|
||||
var_dump(get_included_files());
|
||||
|
||||
include(__DIR__."/014.inc");
|
||||
include(__DIR__."/get_included_files_basic.inc");
|
||||
var_dump(get_included_files());
|
||||
|
||||
echo "Done\n";
|
Loading…
Add table
Add a link
Reference in a new issue