Skip to content

Commit

Permalink
add alias 'notDeepEquals' to 'notDeepEqual' function
Browse files Browse the repository at this point in the history
  • Loading branch information
bambusekd committed Nov 22, 2017
1 parent 0e68b2d commit 57f7809
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 @@ -429,6 +429,7 @@ Test.prototype.deepLooseEqual
};

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 @@ -236,7 +236,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 57f7809

Please sign in to comment.