Permalink
Browse files

Fix whitespace issue.

  • Loading branch information...
sebastianbergmann committed Nov 7, 2006
1 parent 74f657c commit 057ff1e6fcd0aed5c77b3b00ebc99db60978dc6e
Showing with 1 addition and 1 deletion.
  1. +1 −1 PHPUnit/Framework/Assert.php
@@ -1012,7 +1012,7 @@ public static function failConstraint(PHPUnit_Framework_Constraint $constraint,
sprintf(
'%sfailed asserting that %s %s',
- $message,
+ !empty($message) ? $message . ' ' : '',
PHPUnit_Util_Type::toString($value),
$constraint->toString()
)

0 comments on commit 057ff1e

Please sign in to comment.