fix power-assert/power-assert-tests.ts

This commit is contained in:
vvakame 2016-02-23 11:21:40 +09:00
parent 1e1e5ec5fa
commit 91f7f2afa4

View File

@ -19,7 +19,7 @@ assert.throws(() => {
}, undefined, "DODGED IT");
assert.doesNotThrow(() => {
if (false) {
if (Math.random() < 0.5) {
throw "a hammer at your face";
}
}, undefined, "What the...*crunch*");
@ -44,7 +44,7 @@ customizedAssert1.throws(() => {
}, undefined, "DODGED IT");
customizedAssert1.doesNotThrow(() => {
if (false) {
if (Math.random() < 0.5) {
throw "a hammer at your face";
}
}, undefined, "What the...*crunch*");