8000 minor #11430 [Console] Fix test on windows (Seldaek) · symfony/symfony@cbfcc77 · GitHub
[go: up one dir, main page]

Skip to content

Commit cbfcc77

Browse files
committed
minor #11430 [Console] Fix test on windows (Seldaek)
This PR was merged into the 2.6-dev branch. Discussion ---------- [Console] Fix test on windows | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- 8be4c92 [Console] Fix test on windows
2 parents 1fdd3df + 8be4c92 commit cbfcc77

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Symfony/Component/Console/Tests/Helper/ProcessHelperTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ public function provideCommandsAndOutput()
7878
EOT;
7979

8080
$errorMessage = 'An error occurred';
81+
if (defined('PHP_WINDOWS_VERSION_BUILD')) {
82+
$successOutputProcessDebug = str_replace("'", '"', $successOutputProcessDebug);
83+
}
8184

8285
return array(
8386
array('', 'php -r "echo 42;"', StreamOutput::VERBOSITY_VERBOSE, null),

0 commit comments

Comments
 (0)
0