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

This reverts commit 91f7f2afa4.
This commit is contained in:
vvakame
2016-02-23 11:58:46 +09:00
parent ea26d20acf
commit 386562f165

View File

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