mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: fix typo in assert code example
PR-URL: https://github.com/nodejs/node/pull/9704 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
f05f0fe74e
commit
4334d6a85a
1 file changed
+1
-1
+1
-1
@@ -345,7 +345,7 @@ assert.notStrictEqual(1, 2);
|
||||
// OK
|
||||
|
||||
assert.notStrictEqual(1, 1);
|
||||
// AssertionError: 1 != 1
|
||||
// AssertionError: 1 !== 1
|
||||
|
||||
assert.notStrictEqual(1, '1');
|
||||
// OK
|
||||
|
||||
Reference in new issue
Block a user