Skip to content

Commit 4d4337d

Browse files
Trottgibfahn
authored andcommitted
doc: use colon consistently in assert.md
PR-URL: #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>
1 parent d1d547d commit 4d4337d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/assert.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,13 +298,13 @@ assert.notDeepEqual(obj1, obj1);
298298
// AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } }
299299

300300
assert.notDeepEqual(obj1, obj2);
301-
// OK, obj1 and obj2 are not deeply equal
301+
// OK: obj1 and obj2 are not deeply equal
302302

303303
assert.notDeepEqual(obj1, obj3);
304304
// AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } }
305305

306306
assert.notDeepEqual(obj1, obj4);
307-
// OK, obj1 and obj4 are not deeply equal
307+
// OK: obj1 and obj4 are not deeply equal
308308
```
309309

310310
If the values are deeply equal, an `AssertionError` is thrown with a `message`

0 commit comments

Comments
 (0)