Skip to content

Commit 4f68839

Browse files
olivierodonodejs-github-bot
authored andcommitted
doc: fix missing variable in deepStrictEqual example
PR-URL: #40396 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Derek Lewis <[email protected]> Reviewed-By: Zijian Liu <[email protected]>
1 parent 5d7bd86 commit 4f68839

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/assert.md

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