Skip to content

Commit

Permalink
Merge pull request #509 from LyonesGamer/deep-members-diff
Browse files Browse the repository at this point in the history
Cause deep.have.same.members() to print a diff.
  • Loading branch information
keithamus committed Oct 2, 2015
2 parents 23ebbba + c2b8c60 commit ac78e36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/chai/core/assertions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1513,6 +1513,7 @@ module.exports = function (chai, _) {
, 'expected #{this} to not be a superset of #{act}'
, obj
, subset
, true
);
}

Expand All @@ -1522,6 +1523,7 @@ module.exports = function (chai, _) {
, 'expected #{this} to not have the same members as #{act}'
, obj
, subset
, true
);
});

Expand Down

0 comments on commit ac78e36

Please sign in to comment.