parent
260ddd735a
commit
71ade195d1
2 changed files with 6 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ proc testDone(name: string, s: TTestStatus) =
|
||||||
program_result += 1
|
program_result += 1
|
||||||
|
|
||||||
if OutputLevel != PRINT_NONE and (OutputLevel == PRINT_ALL or s == FAILED):
|
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):
|
when not defined(ECMAScript):
|
||||||
if ColorOutput and not defined(ECMAScript):
|
if ColorOutput and not defined(ECMAScript):
|
||||||
var color = (if s == OK: fgGreen else: fgRed)
|
var color = (if s == OK: fgGreen else: fgRed)
|
||||||
|
|
|
||||||
5
tests/js/tunittests.nim
Normal file
5
tests/js/tunittests.nim
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
import unittest
|
||||||
|
|
||||||
|
suite "Bacon":
|
||||||
|
test ">:)":
|
||||||
|
check(true == true)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue