Skip to content

Commit ef7444c

Browse files
TrottMylesBorins
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 cca3526 commit ef7444c

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
@@ -435,13 +435,13 @@ assert.notDeepEqual(obj1, obj1);
435435
// AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } }
436436

437437
assert.notDeepEqual(obj1, obj2);
438-
// OK, obj1 and obj2 are not deeply equal
438+
// OK: obj1 and obj2 are not deeply equal
439439

440440
assert.notDeepEqual(obj1, obj3);
441441
// AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } }
442442

443443
assert.notDeepEqual(obj1, obj4);
444-
// OK, obj1 and obj4 are not deeply equal
444+
// OK: obj1 and obj4 are not deeply equal
445445
```
446446

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

0 commit comments

Comments
 (0)