Skip to content

Commit

Permalink
- Merge [1942].
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Dec 19, 2007
1 parent 3d3a8eb commit f779714
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PHPUnit/Framework/Constraint/IsInstanceOf.php
Expand Up @@ -103,8 +103,9 @@ public function fail($other, $description, $not = FALSE)
{
throw new PHPUnit_Framework_ExpectationFailedException(
sprintf(
'Failed asserting that %s is %san instance of class "%s".',
'%sFailed asserting that %s is %san instance of class "%s".',

!empty($description) ? $description . "\n" : '',
PHPUnit_Util_Type::toString($other, TRUE),
$not ? 'not ' : '',
$this->className
Expand Down

0 comments on commit f779714

Please sign in to comment.