WA for #329, caused by #335

This commit is contained in:
Simon Hafner
2013-02-15 20:40:07 -06:00
parent 260ddd735a
commit 71ade195d1
2 changed files with 6 additions and 1 deletions

View File

@@ -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)

5
tests/js/tunittests.nim Normal file
View File

@@ -0,0 +1,5 @@
import unittest
suite "Bacon":
test ">:)":
check(true == true)