Skip to content

Commit

Permalink
Improved CLI output. Errors don't end in a newline when an exception …
Browse files Browse the repository at this point in the history
…message was passed an hence the cli output but the bash prompt on the same line
  • Loading branch information
edorian committed Oct 1, 2012
1 parent 84fef5c commit 740a705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PHPUnit/TextUI/TestRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ public function setPrinter(PHPUnit_TextUI_ResultPrinter $resultPrinter)
protected function runFailed($message)
{
self::printVersionString();
self::write($message);
self::write($message . PHP_EOL);
exit(self::FAILURE_EXIT);
}

Expand Down

0 comments on commit 740a705

Please sign in to comment.