summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorSimon Hafner <hafnersimon@gmail.com>2013-02-15 20:40:07 -0600
committerSimon Hafner <hafnersimon@gmail.com>2013-02-15 20:40:07 -0600
commit71ade195d1996c0d3d9115af5c53dc8146455970 (patch)
tree70f1e1223cc4ec301e8d7887226afcd9bf068709 /lib
parent260ddd735a684392de7bb41e6c576ad5af7e163f (diff)
downloadNim-71ade195d1996c0d3d9115af5c53dc8146455970.tar.gz
WA for #329, caused by #335
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/unittest.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/unittest.nim b/lib/pure/unittest.nim
index dac9dedcf..71f4d498b 100644
--- a/lib/pure/unittest.nim
+++ b/lib/pure/unittest.nim
@@ -58,7 +58,7 @@ proc testDone(name: string, s: TTestStatus) =
     program_result += 1
 
   if OutputLevel != PRINT_NONE and (OutputLevel == PRINT_ALL or s == FAILED):
-    proc rawPrint() = echo("[", $s, "] ", name, "\n")
+    template rawPrint() = echo("[", $s, "] ", name, "\n")
     when not defined(ECMAScript):
       if ColorOutput and not defined(ECMAScript):
         var color = (if s == OK: fgGreen else: fgRed)