Skip to content

Commit 4d4337d

Browse files
Trottgibfahn
authored andcommitted
doc: use colon consistently in assert.md
PR-URL: #17463 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
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

+2-2
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)