Skip to content

Commit

Permalink
[New] add alias 'notDeepEquals' to 'notDeepEqual' function
Browse files Browse the repository at this point in the history
  • Loading branch information
bambusekd authored and ljharb committed Nov 22, 2017
1 parent 1693c34 commit 35844e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ function notDeepEqual(a, b, msg, extra) {
});
}
Test.prototype.notDeepEqual
= Test.prototype.notDeepEquals
= Test.prototype.notEquivalent
= Test.prototype.notDeeply
= Test.prototype.notSame
Expand Down
2 changes: 1 addition & 1 deletion readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ Assert that `actual` and `expected` do not have the same structure and nested va
[node's deepEqual() algorithm](https://github.com/substack/node-deep-equal)
with strict comparisons (`===`) on leaf nodes and an optional description of the assertion `msg`.

Aliases: `t.notEquivalent()`, `t.notDeeply()`, `t.notSame()`,
Aliases: `t.notDeepEquals`, `t.notEquivalent()`, `t.notDeeply()`, `t.notSame()`,
`t.isNotDeepEqual()`, `t.isNotDeeply()`, `t.isNotEquivalent()`,
`t.isInequivalent()`

Expand Down

0 comments on commit 35844e6

Please sign in to comment.