1
0
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:
Niklas Keller 2022-02-08 22:50:57 +01:00
parent 8ced3f0d17
commit 83582fe723

View File

@ -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);