Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
olivierodo authored and targos committed Oct 13, 2021
1 parent dca5ac1 commit 5eb9402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/assert.md
Expand Up @@ -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
//
Expand Down

0 comments on commit 5eb9402

Please sign in to comment.