Skip to content

Commit

Permalink
condense message method
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Auriemma authored and Jeff Auriemma committed Dec 30, 2014
1 parent 7e6a6cf commit 86224ef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/expectation.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ function (isEqual, getType, condition, search) {
Expectation.prototype.opposite = false;

Expectation.prototype.message = function () {
var text;

text = [
var text = [
this.passed ? "PASSED:" : "FAILED:",
"expected",
getType(this.thing),
Expand Down

0 comments on commit 86224ef

Please sign in to comment.