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

Merge pull request #10749 from weirdan/6449-skip-symlink-test-on-windows

Skip symlink test on Windows
This commit is contained in:
Bruce Weirdan 2024-02-25 14:34:30 +01:00 committed by GitHub
commit eb9e8d96cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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