diff options
-rw-r--r-- | testlib/talertest.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testlib/talertest.ts b/testlib/talertest.ts index 16d8ec14e..d420da4a0 100644 --- a/testlib/talertest.ts +++ b/testlib/talertest.ts @@ -88,7 +88,7 @@ export async function run() { try { await p; - if (passed) { + if (!passed) { throw Error("test did not call 'pass'"); } console.log(`ok ${Number(i) + 1} ${lastMsg}`); |