fix node/node-*tests.ts

This commit is contained in:
vvakame committed 2016-02-23 11:24:55 +09:00
1 parent 713584a79d
commit 87a47f0edd
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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*");
////////////////////////////////////////////////////