Skip to content

Commit 5eb9402

Browse files
olivierodotargos
authored andcommittedOct 13, 2021
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 dca5ac1 commit 5eb9402

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
@@ -690,7 +690,7 @@ are recursively evaluated also by the following rules.
690690
import assert from 'assert/strict';
691691

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

0 commit comments

Comments
 (0)
Please sign in to comment.