Skip to content

Commit 7be8366

Browse files
committed
fix the directory separator being used
1 parent 32dfba3 commit 7be8366

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Tests/ExecutableFinderTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function testFindBatchExecutableOnWindows()
146146
*/
147147
public function testEmptyDirInPath()
148148
{
149-
putenv(sprintf('PATH=%s:', \dirname(\PHP_BINARY)));
149+
putenv(sprintf('PATH=%s%s', \dirname(\PHP_BINARY), \PATH_SEPARATOR));
150150

151151
touch('executable');
152152
chmod('executable', 0700);

0 commit comments

Comments
 (0)