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}`);