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:
OliverOdo authored and Michaël Zasso committed 2021-10-13 10:21:02 +02:00
1 parent dca5ac1539
commit 5eb9402b50
1 file changed
+1 -1
+1 -1
View File
@@ -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
//