Oops, revert unintentional commit.
This commit is contained in:
parent
1982fb51c9
commit
ff8b9d8375
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue