mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
doc: fix missing variable in deepStrictEqual example
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
dca5ac1539
commit
5eb9402b50
1 file changed
+1
-1
+1
-1
@@ -690,7 +690,7 @@ are recursively evaluated also by the following rules.
|
||||
import assert from 'assert/strict';
|
||||
|
||||
// This fails because 1 !== '1'.
|
||||
deepStrictEqual({ a: 1 }, { a: '1' });
|
||||
assert.deepStrictEqual({ a: 1 }, { a: '1' });
|
||||
// AssertionError: Expected inputs to be strictly deep-equal:
|
||||
// + actual - expected
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user