Test updates

This commit is contained in:
2026-06-25 17:26:48 +09:00
parent 55aebb5373
commit e881854583
5 changed files with 91 additions and 32 deletions
+24 -13
View File
@@ -551,19 +551,30 @@ final class CoreLibsDebugSupportTest extends TestCase
);
break;
case 12:
// add two "run" before "runBare"
array_splice(
$expected,
7,
0,
['run']
);
array_splice(
$expected,
0,
0,
['include']
);
// if compare starts with "main"
if ($compare[0] == 'main') {
// add two more run after main
array_splice(
$expected,
1,
0,
['run', 'run']
);
} else {
// add two "run" before "runBare"
array_splice(
$expected,
7,
0,
['run']
);
array_splice(
$expected,
0,
0,
['include']
);
}
$this->assertEquals(
$expected,
$compare,