File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1111
1212namespace Symfony \Component \Filesystem \Tests ;
1313
14+ use Symfony \Component \Filesystem \Exception \InvalidArgumentException ;
1415use Symfony \Component \Filesystem \Exception \IOException ;
1516
1617/**
@@ -1194,14 +1195,14 @@ public function providePathsForMakePathRelative()
11941195
11951196 public function testMakePathRelativeWithRelativeStartPath ()
11961197 {
1197- $ this ->expectException (\ Symfony \ Component \ Filesystem \ Exception \ InvalidArgumentException::class);
1198+ $ this ->expectException (InvalidArgumentException::class);
11981199 $ this ->expectExceptionMessage ('The start path "var/lib/symfony/src/Symfony/Component" is not absolute. ' );
11991200 $ this ->assertSame ('../../../ ' , $ this ->filesystem ->makePathRelative ('/var/lib/symfony/ ' , 'var/lib/symfony/src/Symfony/Component ' ));
12001201 }
12011202
12021203 public function testMakePathRelativeWithRelativeEndPath ()
12031204 {
1204- $ this ->expectException (\ Symfony \ Component \ Filesystem \ Exception \ InvalidArgumentException::class);
1205+ $ this ->expectException (InvalidArgumentException::class);
12051206 $ this ->expectExceptionMessage ('The end path "var/lib/symfony/" is not absolute. ' );
12061207 $ this ->assertSame ('../../../ ' , $ this ->filesystem ->makePathRelative ('var/lib/symfony/ ' , '/var/lib/symfony/src/Symfony/Component ' ));
12071208 }
You can’t perform that action at this time.
0 commit comments