refactor config test (#199)

This commit is contained in:
sunxyw
2022-12-24 15:46:13 +08:00
committed by GitHub
parent a44a7e86d7
commit b41871a2a2
3 changed files with 33 additions and 53 deletions

View File

@@ -75,12 +75,12 @@ class FileSystemTest extends TestCase
'Qux' => [
'Quux.php' => '<?php namespace Bar\Qux; class Quux {}',
],
'Baz.php.ignore' => '',
],
'Chore' => [
'global.php' => '<?php function global_function() {}',
'global_classes.php' => '<?php class GlobalClass {}',
],
'Baz.php.ignore' => '',
], $this->vfs);
$classes = FileSystem::getClassesPsr4($this->vfs->url(), '');
$this->assertSame([