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