Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 278cabd

Browse filesBrowse files
committed
ignore case of built-in cmd.exe commands
1 parent 81bffdf commit 278cabd
Copy full SHA for 278cabd

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Process/Tests/ExecutableFinderTest.php
+3-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.