Try to fix unittest for JS backend, still not working

This commit is contained in:
def 2015-02-04 21:44:25 +01:00
commit 416456cefe

View file

@ -39,6 +39,7 @@ when declared(stdout):
when not defined(ECMAScript): when not defined(ECMAScript):
import terminal import terminal
system.addQuitProc(resetAttributes)
type type
TestStatus* = enum OK, FAILED TestStatus* = enum OK, FAILED
@ -234,5 +235,3 @@ if envOutLvl.len > 0:
if $opt == envOutLvl: if $opt == envOutLvl:
outputLevel = opt outputLevel = opt
break break
system.addQuitProc(resetAttributes)