mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
doc: fix a typo in the assert.md
PR-URL: https://github.com/nodejs/node/pull/9598 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Roman Reiss <me@silverwind.io>
This commit is contained in:
1 parent
deabb5cfaa
commit
bff4e88f0b
1 file changed
+1
-1
+1
-1
@@ -271,7 +271,7 @@ assert.notDeepEqual(obj1, obj3);
|
||||
// AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } }
|
||||
|
||||
assert.notDeepEqual(obj1, obj4);
|
||||
// OK, obj1 and obj2 are not deeply equal
|
||||
// OK, obj1 and obj4 are not deeply equal
|
||||
```
|
||||
|
||||
If the values are deeply equal, an `AssertionError` is thrown with a `message`
|
||||
|
||||
Reference in new issue
Block a user