mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-07 11:14:00 +08:00
fix node/node-*tests.ts
This commit is contained in:
1 parent
713584a79d
commit
87a47f0edd
3 files changed
+3
-3
No files matched your search
@@ -24,7 +24,7 @@ assert.notStrictEqual(2, "2", "uses === comparator");
|
||||
assert.throws(() => { throw "a hammer at your face"; }, undefined, "DODGED IT");
|
||||
|
||||
assert.doesNotThrow(() => {
|
||||
if (false) { throw "a hammer at your face"; }
|
||||
if (Math.random() < 0.5) { throw "a hammer at your face"; }
|
||||
}, undefined, "What the...*crunch*");
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user