Skip to content

Commit

Permalink
fix the directory separator being used
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Nov 4, 2024
1 parent 32dfba3 commit 7be8366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/ExecutableFinderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function testFindBatchExecutableOnWindows()
*/
public function testEmptyDirInPath()
{
putenv(sprintf('PATH=%s:', \dirname(\PHP_BINARY)));
putenv(sprintf('PATH=%s%s', \dirname(\PHP_BINARY), \PATH_SEPARATOR));

touch('executable');
chmod('executable', 0700);
Expand Down

0 comments on commit 7be8366

Please sign in to comment.