diff --git a/faststreams.nimble b/faststreams.nimble index 1f430e0..e088d5d 100644 --- a/faststreams.nimble +++ b/faststreams.nimble @@ -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" diff --git a/tests/test_inputs.nim b/tests/test_inputs.nim index b08d04b..95ef39e 100644 --- a/tests/test_inputs.nim +++ b/tests/test_inputs.nim @@ -1,7 +1,7 @@ {.used.} import - os, unittest, strutils, random, + os, unittest2, strutils, random, stew/ranges/ptr_arith, testutils, ../faststreams, ../faststreams/textio