mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
fix power-assert/power-assert-tests.ts
This commit is contained in:
parent
1e1e5ec5fa
commit
91f7f2afa4
@ -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*");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user