Skip to content
Permalink
Browse files

Fix CakeHtmlReporter output for HTML

  • Loading branch information...
dereuromark committed Apr 12, 2014
1 parent 6122869 commit 4f3578ebda1cc2e2989acc63ee9494df2def49f5
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php
@@ -264,7 +264,7 @@ public function paintFail($message, $test) {
echo "<div class='msg'><pre>" . $this->_htmlEntities($message->toString());
if ((is_string($actualMsg) && is_string($expectedMsg)) || (is_array($actualMsg) && is_array($expectedMsg))) {
echo "<br />" . PHPUnit_Util_Diff::diff($expectedMsg, $actualMsg);
echo "<br />" . $this->_htmlEntities(PHPUnit_Util_Diff::diff($expectedMsg, $actualMsg));
}
echo "</pre></div>\n";

0 comments on commit 4f3578e

Please sign in to comment.
You can’t perform that action at this time.