diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-08 16:55:21 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-08 16:55:21 +0100 |
commit | 350367d3991a3063474834108dda1ee4fdebaf52 (patch) | |
tree | 087dd4b2e0f4cbb743965b462c9eb5a6cdbb4ed1 /testlib | |
parent | 8ab029430c105b6428914127960d9bec3f431630 (diff) |
fix inverted condition
Diffstat (limited to 'testlib')
-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}`); |