mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
doc: fix comment in assert.md
PR-URL: https://github.com/nodejs/node/pull/16335 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
This commit is contained in:
1 parent
023b95bf4a
commit
49e2651013
1 file changed
+1
-1
+1
-1
@@ -441,7 +441,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