add "--threads:on" to tests

and be explicit about relative path imports in them
This commit is contained in:
Ștefan Talpalaru 2019-01-10 23:20:37 +01:00 committed by zah
parent daa60be371
commit d61f2e01fb
3 changed files with 4 additions and 2 deletions

2
tests/nim.cfg Normal file
View File

@ -0,0 +1,2 @@
--threads:on

View File

@ -1,6 +1,6 @@
import
unittest,
../json_serialization/lexer, utils
../json_serialization/lexer, ./utils
template expectedToken(token: TokKind, additionalTest = true) {.dirty.} =
lexer.next()

View File

@ -1,7 +1,7 @@
import
strutils, options, unittest,
serialization/testing/generic_suite,
../json_serialization, utils
../json_serialization, ./utils
type
Simple = object