Skip to content

Commit

Permalink
Deep members comparisons show diff.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan Patch authored and lucasfcosta committed Mar 14, 2016
1 parent 975cb73 commit c817b75
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 @@ -1562,6 +1562,7 @@ module.exports = function (chai, _) {
, 'expected #{this} to not be a superset of #{act}'
, obj
, subset
, true
);
}

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

Expand Down

0 comments on commit c817b75

Please sign in to comment.