mirror of
https://github.com/chaijs/chai
synced 2024-11-15 08:17:14 +00:00
Merge pull request #794 from lucasfcosta/consistent-message-assert-equals
Enabling showDiff for assert's equal and notEqual methods. Closes #790
This commit is contained in:
commit
95b511a51c
1 changed files with 2 additions and 0 deletions
|
@ -129,6 +129,7 @@ module.exports = function (chai, util) {
|
||||||
, 'expected #{this} to not equal #{act}'
|
, 'expected #{this} to not equal #{act}'
|
||||||
, exp
|
, exp
|
||||||
, act
|
, act
|
||||||
|
, true
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -156,6 +157,7 @@ module.exports = function (chai, util) {
|
||||||
, 'expected #{this} to equal #{act}'
|
, 'expected #{this} to equal #{act}'
|
||||||
, exp
|
, exp
|
||||||
, act
|
, act
|
||||||
|
, true
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue