Skip to content

Commit

Permalink
doc: fix missing variable in deepStrictEqual example
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
olivierodo authored and nodejs-github-bot committed Oct 11, 2021
1 parent 5d7bd86 commit 4f68839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,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 4f68839

Please sign in to comment.