File tree 1 file changed +0
-19
lines changed
src/Symfony/Component/Filesystem/Tests 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -439,25 +439,6 @@ public function testGetRoot(string $path, string $root)
439
439
$ this ->assertSame ($ root , Path::getRoot ($ path ));
440
440
}
441
441
442
- public function providePathTests (): \Generator
443
- {
444
- // relative to absolute path
445
- yield ['css/style.css ' , '/webmozart/symfony ' , '/webmozart/symfony/css/style.css ' ];
446
- yield ['../css/style.css ' , '/webmozart/symfony ' , '/webmozart/css/style.css ' ];
447
- yield ['../../css/style.css ' , '/webmozart/symfony ' , '/css/style.css ' ];
448
-
449
- // relative to root
450
- yield ['css/style.css ' , '/ ' , '/css/style.css ' ];
451
- yield ['css/style.css ' , 'C: ' , 'C:/css/style.css ' ];
452
- yield ['css/style.css ' , 'C:/ ' , 'C:/css/style.css ' ];
453
-
454
- // same sub directories in different base directories
455
- yield ['../../symfony/css/style.css ' , '/webmozart/css ' , '/symfony/css/style.css ' ];
456
-
457
- yield ['' , '/webmozart/symfony ' , '/webmozart/symfony ' ];
458
- yield ['.. ' , '/webmozart/symfony ' , '/webmozart ' ];
459
- }
460
-
461
442
private static function getPathTests (): \Generator
462
443
{
463
444
yield from [
You can’t perform that action at this time.
0 commit comments