fix phpunit test

This commit is contained in:
crazywhalecc 2024-01-10 21:14:55 +08:00 committed by Jerry Ma
parent 5ab4d140d5
commit 34f810571e

View File

@ -188,8 +188,9 @@ class FileSystemTest extends TestCase
$this->assertTrue(FileSystem::isRelativePath('.\\sdf'));
if (DIRECTORY_SEPARATOR === '\\') {
$this->assertFalse(FileSystem::isRelativePath('C:\\asdasd/fwe\asd'));
} else {
$this->assertFalse(FileSystem::isRelativePath('/fwefwefewf'));
}
$this->assertTrue(FileSystem::isRelativePath('/fwefwefewf'));
}
public function testScanDirFiles()