diff options
author | Araq <rumpf_a@web.de> | 2014-12-28 22:24:29 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-12-28 22:24:29 +0100 |
commit | a0ad3aa1836902c5c478e57c8fbee75c60a0a155 (patch) | |
tree | 68e8923f5da1d270f207c3147c461c637af8718b /lib | |
parent | f73938218ec39209ef1d898e26350e4828e1248c (diff) | |
download | Nim-a0ad3aa1836902c5c478e57c8fbee75c60a0a155.tar.gz |
work around a regression caused by the new 'echo' implementation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/unittest.nim | 4 |
1 files changed, 3 insertions, 1 deletions
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) |