Skip to content

Commit 0d7dca5

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 977eb5a commit 0d7dca5

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

383383
assert.notDeepEqual(obj1, obj2);
384-
// OK, obj1 and obj2 are not deeply equal
384+
// OK: obj1 and obj2 are not deeply equal
385385

386386
assert.notDeepEqual(obj1, obj3);
387387
// AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } }
388388

389389
assert.notDeepEqual(obj1, obj4);
390-
// OK, obj1 and obj4 are not deeply equal
390+
// OK: obj1 and obj4 are not deeply equal
391391
```
392392

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

0 commit comments

Comments
 (0)