Skip to content

Commit

Permalink
doc: unify quotes in an assert.md code example
Browse files Browse the repository at this point in the history
PR-URL: #12505
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: David Cai <davidcai1993@yahoo.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
vsemozhetbyt committed Apr 19, 2017
1 parent 5ef6000 commit 211813c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -576,8 +576,8 @@ assert.notStrictEqual(a, b);
assert(!Object.is(a, b));
// but Object.is() does!

const str1 = "foo";
const str2 = "foo";
const str1 = 'foo';
const str2 = 'foo';
assert.strictEqual(str1 / 1, str2 / 1);
// AssertionError: NaN === NaN
// Strict Equality Comparison can't be used to check NaN...
Expand Down

0 comments on commit 211813c

Please sign in to comment.