Skip to content

Commit

Permalink
minor #11430 [Console] Fix test on windows (Seldaek)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
fabpot committed Jul 23, 2014
2 parents 1fdd3df + 8be4c92 commit cbfcc77
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -78,6 +78,9 @@ public function provideCommandsAndOutput()
EOT;

$errorMessage = 'An error occurred';
if (defined('PHP_WINDOWS_VERSION_BUILD')) {
$successOutputProcessDebug = str_replace("'", '"', $successOutputProcessDebug);
}

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

0 comments on commit cbfcc77

Please sign in to comment.