From 416456cefef9120019924067adeb814b0ceaaf79 Mon Sep 17 00:00:00 2001 From: def Date: Wed, 4 Feb 2015 21:44:25 +0100 Subject: Try to fix unittest for JS backend, still not working --- lib/pure/unittest.nim | 3 +-- 1 file changed, 1 insertion(+), 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) -- cgit 1.4.1-2-gfad0