Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
Use PHPUnit_Framework_TestFailure::exceptionToString if invocation ex…
Browse files Browse the repository at this point in the history
…pectations fail

Primarily to display a diff of the mismatching parameters
  • Loading branch information
fabian committed Nov 15, 2012
1 parent e8af681 commit 813c9fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PHPUnit/Framework/MockObject/Matcher.php
Expand Up @@ -300,7 +300,7 @@ public function verify()


$this->methodNameMatcher->toString(), $this->methodNameMatcher->toString(),
$this->invocationMatcher->toString(), $this->invocationMatcher->toString(),
$e->getMessage() PHPUnit_Framework_TestFailure::exceptionToString($e)
) )
); );
} }
Expand Down

0 comments on commit 813c9fa

Please sign in to comment.