Skip to content

Commit

Permalink
Remove unused data provider
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark committed Feb 7, 2023
1 parent 0d73939 commit cd85033
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions Tests/PathTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -439,25 +439,6 @@ public function testGetRoot(string $path, string $root)
$this->assertSame($root, Path::getRoot($path));
}

public function providePathTests(): \Generator
{
// relative to absolute path
yield ['css/style.css', '/webmozart/symfony', '/webmozart/symfony/css/style.css'];
yield ['../css/style.css', '/webmozart/symfony', '/webmozart/css/style.css'];
yield ['../../css/style.css', '/webmozart/symfony', '/css/style.css'];

// relative to root
yield ['css/style.css', '/', '/css/style.css'];
yield ['css/style.css', 'C:', 'C:/css/style.css'];
yield ['css/style.css', 'C:/', 'C:/css/style.css'];

// same sub directories in different base directories
yield ['../../symfony/css/style.css', '/webmozart/css', '/symfony/css/style.css'];

yield ['', '/webmozart/symfony', '/webmozart/symfony'];
yield ['..', '/webmozart/symfony', '/webmozart'];
}

private static function getPathTests(): \Generator
{
yield from [
Expand Down

0 comments on commit cd85033

Please sign in to comment.