Skip to content

Commit a56fe7b

Browse files
committed
ignore case of built-in cmd.exe commands
1 parent 46c203f commit a56fe7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/ExecutableFinderTest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ public function testFindBuiltInCommandOnWindows()
166166
}
167167

168168
$finder = new ExecutableFinder();
169-
$this->assertSame('rmdir', $finder->find('RMDIR'));
170-
$this->assertSame('cd', $finder->find('cd'));
171-
$this->assertSame('move', $finder->find('MoVe'));
169+
$this->assertSame('rmdir', strtolower($finder->find('RMDIR')));
170+
$this->assertSame('cd', strtolower($finder->find('cd')));
171+
$this->assertSame('move', strtolower($finder->find('MoVe')));
172172
}
173173

174174
private function assertSamePath($expected, $tested)

0 commit comments

Comments
 (0)