diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-08 16:56:58 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-08 16:56:58 +0100 |
commit | 25e446e40566530a9c0eeeb2d031bf3c226120bf (patch) | |
tree | f1eba5fec12c0579ec1271a6a05e39804e385cbd | |
parent | 350367d3991a3063474834108dda1ee4fdebaf52 (diff) |
improve TAP output
-rw-r--r-- | testlib/talertest.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testlib/talertest.ts b/testlib/talertest.ts index d420da4a0..097f65b98 100644 --- a/testlib/talertest.ts +++ b/testlib/talertest.ts @@ -91,10 +91,10 @@ export async function run() { if (!passed) { throw Error("test did not call 'pass'"); } - console.log(`ok ${Number(i) + 1} ${lastMsg}`); + console.log(`ok ${Number(i) + 1} ${lastMsg || "-"}`); } catch (e) { console.error(e); - console.log(`not ok ${Number(i) + 1} ${lastMsg}`); + console.log(`not ok ${Number(i) + 1} ${lastMsg || "-"}`); } } } |