Skip to content

Commit 211813c

Browse files
committed
doc: unify quotes in an assert.md code example
PR-URL: #12505 Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: David Cai <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 5ef6000 commit 211813c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/assert.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -576,8 +576,8 @@ assert.notStrictEqual(a, b);
576576
assert(!Object.is(a, b));
577577
// but Object.is() does!
578578

579-
const str1 = "foo";
580-
const str2 = "foo";
579+
const str1 = 'foo';
580+
const str2 = 'foo';
581581
assert.strictEqual(str1 / 1, str2 / 1);
582582
// AssertionError: NaN === NaN
583583
// Strict Equality Comparison can't be used to check NaN...

0 commit comments

Comments
 (0)