mirror of
https://github.com/danog/file.git
synced 2024-11-26 20:04:51 +01:00
Fix Windows tests
This commit is contained in:
parent
8ced3f0d17
commit
83582fe723
@ -114,7 +114,7 @@ abstract class FilesystemDriverTest extends FilesystemTest
|
||||
|
||||
\clearstatcache(true);
|
||||
|
||||
if (IS_WINDOWS && \is_file($link)) {
|
||||
if (IS_WINDOWS && \file_exists($link)) {
|
||||
self::assertSame($link, $this->driver->resolveSymlink($link));
|
||||
} else {
|
||||
$this->expectException(FilesystemException::class);
|
||||
|
Loading…
Reference in New Issue
Block a user