Rename poorly named tests in Zend/tests (#19332)

And move some into their relevant folders
This commit is contained in:
Alexandre Daubois 2025-07-31 20:58:01 +02:00 committed by GitHub
parent dad28a30f3
commit e43074a1d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
35 changed files with 9 additions and 9 deletions

View file

@ -1,3 +0,0 @@
<?php
/* dummy file for 014.phpt */
?>

View file

@ -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

View file

@ -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)

View file

@ -0,0 +1,3 @@
<?php
/* dummy file for get_included_files_basic.phpt */
?>

View file

@ -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";