aboutsummaryrefslogtreecommitdiff
path: root/testlib
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-11-08 16:55:21 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-11-08 16:55:21 +0100
commit350367d3991a3063474834108dda1ee4fdebaf52 (patch)
tree087dd4b2e0f4cbb743965b462c9eb5a6cdbb4ed1 /testlib
parent8ab029430c105b6428914127960d9bec3f431630 (diff)
downloadwallet-core-350367d3991a3063474834108dda1ee4fdebaf52.tar.xz
fix inverted condition
Diffstat (limited to 'testlib')
-rw-r--r--testlib/talertest.ts2
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}`);