diff options
author | Rich Trott <rtrott@gmail.com> | 2017-12-04 19:57:25 -0800 |
---|---|---|
committer | Gibson Fahnestock <gibfahn@gmail.com> | 2017-12-20 00:35:43 +0000 |
commit | 4d4337d3d3ce8b18ce9ce10883fdf91d582979bb (patch) | |
tree | 028f29bf525e2c2d2cbf94b50edf2f774a0f4b58 /doc | |
parent | d1d547d2ab2daf8a2e8253e5973a37bae3999e4b (diff) | |
download | node-new-4d4337d3d3ce8b18ce9ce10883fdf91d582979bb.tar.gz |
doc: use colon consistently in assert.md
PR-URL: https://github.com/nodejs/node/pull/17463
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/assert.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/assert.md b/doc/api/assert.md index 58d4427270..779c6cd205 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -298,13 +298,13 @@ assert.notDeepEqual(obj1, obj1); // AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } } assert.notDeepEqual(obj1, obj2); -// OK, obj1 and obj2 are not deeply equal +// OK: obj1 and obj2 are not deeply equal assert.notDeepEqual(obj1, obj3); // AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } } assert.notDeepEqual(obj1, obj4); -// OK, obj1 and obj4 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` |