diff options
author | def <dennis@felsin9.de> | 2015-02-04 21:44:25 +0100 |
---|---|---|
committer | def <dennis@felsin9.de> | 2015-02-04 21:44:25 +0100 |
commit | 416456cefef9120019924067adeb814b0ceaaf79 (patch) | |
tree | f79cc9a7ba643ffc33ecaf7dd2e9f0d8ec2c6980 | |
parent | 0b4557b2ce6cfbf05faa2f68317983e3b5b32a84 (diff) | |
download | Nim-416456cefef9120019924067adeb814b0ceaaf79.tar.gz |
Try to fix unittest for JS backend, still not working
-rw-r--r-- | lib/pure/unittest.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/pure/unittest.nim b/lib/pure/unittest.nim index 8dc9fe0d4..f4e42ee63 100644 --- a/lib/pure/unittest.nim +++ b/lib/pure/unittest.nim @@ -39,6 +39,7 @@ when declared(stdout): when not defined(ECMAScript): import terminal + system.addQuitProc(resetAttributes) type TestStatus* = enum OK, FAILED @@ -234,5 +235,3 @@ if envOutLvl.len > 0: if $opt == envOutLvl: outputLevel = opt break - -system.addQuitProc(resetAttributes) |