From ff8b9d8375c1b8bb80c1fdd9bd552b60d84e08e0 Mon Sep 17 00:00:00 2001 From: Christian Williams Date: Tue, 10 Nov 2009 14:30:26 -0500 Subject: [PATCH] Oops, revert unintentional commit. --- lib/TrivialReporter.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/TrivialReporter.js b/lib/TrivialReporter.js index 3a49ae6..e0e1589 100644 --- a/lib/TrivialReporter.js +++ b/lib/TrivialReporter.js @@ -90,12 +90,7 @@ jasmine.TrivialReporter.prototype.reportSpecResults = function(spec) { var result = resultItems[i]; if (result.passed && !result.passed()) { var resultMessageDiv = this.createDom('div', {className: 'resultMessage fail'}); - - var expectationMessage = "Expected " + jasmine.pp(result.actual) + " " + result.matcherName; - if ("expected" in result) { - expectationMessage += " " + jasmine.pp(result.expected); - } - resultMessageDiv.innerHTML = expectationMessage; // todo: lame; mend + resultMessageDiv.innerHTML = result.message; // todo: lame; mend specDiv.appendChild(resultMessageDiv); specDiv.appendChild(this.createDom('div', {className: 'stackTrace'}, result.trace.stack)); }