Skip to content

Commit

Permalink
- Merge [2250].
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jan 22, 2008
1 parent be58d8f commit cd3e7e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PHPUnit/Util/Log/XML.php
Expand Up @@ -220,7 +220,7 @@ public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_Asser
$failure->setAttribute('type', get_class($e));

if ($test instanceof PHPUnit_Framework_SelfDescribing) {
$buffer = (string)$test . "\n";
$buffer = $test->toString() . "\n";
} else {
$buffer = '';
}
Expand Down

0 comments on commit cd3e7e1

Please sign in to comment.