1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 09:37:59 +01:00

Skip symlink test on Windows

Fixes vimeo/psalm#6449

Symlinks on Windows are rare (and quite unreliable)
This commit is contained in:
Bruce Weirdan 2024-02-25 14:25:25 +01:00
parent 6c10ad2355
commit 57caade0d1

View File

@ -158,6 +158,9 @@ class ConfigTest extends TestCase
$this->assertFalse($config->isInProjectDirs(realpath('examples/TemplateScanner.php')));
}
/**
* @requires OS ^(?!WIN)
*/
public function testIgnoreSymlinkedProjectDirectory(): void
{
@unlink(dirname(__DIR__, 1) . '/fixtures/symlinktest/ignored/b');