move to unittest2

to fix a clash with testutils
This commit is contained in:
Ștefan Talpalaru 2021-05-28 00:36:44 +02:00 • committed by zah
commit 5eb7fd0c90
2 changed files with 4 additions and 3 deletions

View file

@ -10,7 +10,8 @@ skipDirs = @["tests"]
requires "nim >= 1.2.0",
"stew",
"testutils",
"chronos"
"chronos",
"unittest2"
### Helper functions
proc test(env, path: string) =
@ -20,7 +21,7 @@ proc test(env, path: string) =
lang = getEnv"TEST_LANG"
exec "nim " & lang & " " & env &
" -r --hints:off --warnings:off " & path
" -r --hints:off --skipParentCfg " & path
task test, "Run all tests":
test "-d:debug --threads:on", "tests/all_tests"