Skip to content

Commit

Permalink
doc: fix missing variable in deepStrictEqual example
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierodo committed Oct 11, 2021
1 parent f11493d commit c14e700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/assert.md
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 c14e700

Please sign in to comment.