From a0ad3aa1836902c5c478e57c8fbee75c60a0a155 Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 28 Dec 2014 22:24:29 +0100 Subject: work around a regression caused by the new 'echo' implementation --- lib/pure/unittest.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/pure/unittest.nim') diff --git a/lib/pure/unittest.nim b/lib/pure/unittest.nim index 6c0246f8b..21efea3bc 100644 --- a/lib/pure/unittest.nim +++ b/lib/pure/unittest.nim @@ -97,7 +97,9 @@ proc checkpoint*(msg: string) = template fail* = bind checkpoints for msg in items(checkpoints): - echo msg + # this used to be 'echo' which now breaks due to a bug. XXX will revisit + # this issue later. + stdout.writeln msg when not defined(ECMAScript): if abortOnError: quit(1) -- cgit 1.4.1-2-gfad0