commit 350367d3991a3063474834108dda1ee4fdebaf52 parent 8ab029430c105b6428914127960d9bec3f431630 Author: Florian Dold <florian.dold@gmail.com> Date: Tue, 8 Nov 2016 16:55:21 +0100 fix inverted condition Diffstat:
| M | testlib/talertest.ts | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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}`);