Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ef7444c

Browse filesBrowse files
TrottMylesBorins
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 cca3526 commit ef7444c
Copy full SHA for ef7444c

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/assert.md‎

Copy file name to clipboardExpand all lines: doc/api/assert.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.