Update the test instance

This commit is contained in:
crazywhalecc
2022-03-29 02:08:11 +08:00
committed by Jerry Ma
parent 5db3ff934d
commit d748a20445
2 changed files with 22 additions and 7 deletions

View File

@@ -59,10 +59,9 @@ class DataProviderTest extends TestCase
public function testIsRelativePath(): void
{
$this->assertTrue(true);
// $this->assertTrue(DataProvider::isRelativePath('./'));
// $this->assertTrue(DataProvider::isRelativePath('../'));
// $this->assertFalse(DataProvider::isRelativePath('/'));
// $this->assertFalse(DataProvider::isRelativePath('test.php'));
$this->assertTrue(DataProvider::isRelativePath('./'));
$this->assertTrue(DataProvider::isRelativePath('../'));
$this->assertFalse(DataProvider::isRelativePath('/'));
$this->assertTrue(DataProvider::isRelativePath('test.php'));
}
}