Skip to content

Commit f9c3a00

Browse files
minor #58748 [Process] ignore case of built-in cmd.exe commands (xabbuh)
This PR was merged into the 5.4 branch. Discussion ---------- [Process] ignore case of built-in cmd.exe commands | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 278cabd ignore case of built-in cmd.exe commands
2 parents 81bffdf + 278cabd commit f9c3a00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/Process/Tests/ExecutableFinderTest.php

Lines changed: 3 additions & 3 deletions
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)