Skip to content

Commit 54e9d76

Browse files
[Finder] fix tests on Windows
1 parent 7489e29 commit 54e9d76

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/PhpExecutableFinderTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ public function testNotExitsBinaryFile()
6565

6666
public function testFindWithExecutableDirectory()
6767
{
68+
if ('\\' === \DIRECTORY_SEPARATOR) {
69+
$this->markTestSkipped('Directories are not executable on Windows');
70+
}
71+
6872
$originalPhpBinary = getenv('PHP_BINARY');
6973

7074
try {

0 commit comments

Comments
 (0)