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 4f68839

Browse filesBrowse files
olivierodonodejs-github-bot
authored andcommitted
doc: fix missing variable in deepStrictEqual example
PR-URL: #40396 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
1 parent 5d7bd86 commit 4f68839
Copy full SHA for 4f68839

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎doc/api/assert.md‎

Copy file name to clipboardExpand all lines: doc/api/assert.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ are recursively evaluated also by the following rules.
692692
import assert from 'assert/strict';
693693

694694
// This fails because 1 !== '1'.
695-
deepStrictEqual({ a: 1 }, { a: '1' });
695+
assert.deepStrictEqual({ a: 1 }, { a: '1' });
696696
// AssertionError: Expected inputs to be strictly deep-equal:
697697
// + actual - expected
698698
//

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.