Skip to content

Commit a61d4fb

Browse files
committed
[Console] Fix test on windows
1 parent 06d8f2a commit a61d4fb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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)