Skip to content

Commit

Permalink
Merge pull request #794 from lucasfcosta/consistent-message-assert-eq…
Browse files Browse the repository at this point in the history
…uals

Enabling showDiff for assert's equal and notEqual methods. Closes #790
  • Loading branch information
keithamus committed Sep 11, 2016
2 parents ad5a2b3 + d539c8d commit 95b511a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/chai/interface/assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ module.exports = function (chai, util) {
, 'expected #{this} to not equal #{act}'
, exp
, act
, true
);
};

Expand Down Expand Up @@ -156,6 +157,7 @@ module.exports = function (chai, util) {
, 'expected #{this} to equal #{act}'
, exp
, act
, true
);
};

Expand Down

0 comments on commit 95b511a

Please sign in to comment.