mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Revert "fix power-assert/power-assert-tests.ts"
This reverts commit 91f7f2afa4.
This commit is contained in:
@@ -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*");
|
||||
|
||||
Reference in New Issue
Block a user