mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
fix phpunit test
This commit is contained in:
parent
5ab4d140d5
commit
34f810571e
@ -188,8 +188,9 @@ class FileSystemTest extends TestCase
|
|||||||
$this->assertTrue(FileSystem::isRelativePath('.\\sdf'));
|
$this->assertTrue(FileSystem::isRelativePath('.\\sdf'));
|
||||||
if (DIRECTORY_SEPARATOR === '\\') {
|
if (DIRECTORY_SEPARATOR === '\\') {
|
||||||
$this->assertFalse(FileSystem::isRelativePath('C:\\asdasd/fwe\asd'));
|
$this->assertFalse(FileSystem::isRelativePath('C:\\asdasd/fwe\asd'));
|
||||||
|
} else {
|
||||||
|
$this->assertFalse(FileSystem::isRelativePath('/fwefwefewf'));
|
||||||
}
|
}
|
||||||
$this->assertTrue(FileSystem::isRelativePath('/fwefwefewf'));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testScanDirFiles()
|
public function testScanDirFiles()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user