mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-06 20:04:18 +00:00
@@ -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
5
tests/js/tunittests.nim
Normal file
@@ -0,0 +1,5 @@
|
||||
import unittest
|
||||
|
||||
suite "Bacon":
|
||||
test ">:)":
|
||||
check(true == true)
|
||||
Reference in New Issue
Block a user