summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/arc/tweave.nim2
-rw-r--r--tests/stdlib/tenvvars.nim2
-rw-r--r--tests/stdlib/tnetdial.nim2
-rw-r--r--tests/stdlib/tosenv.nim2
-rw-r--r--tests/stdlib/tssl.nim2
-rw-r--r--tests/threads/t7172.nim2
6 files changed, 6 insertions, 6 deletions
diff --git a/tests/arc/tweave.nim b/tests/arc/tweave.nim
index fc576f484..1c60ac403 100644
--- a/tests/arc/tweave.nim
+++ b/tests/arc/tweave.nim
@@ -9,7 +9,7 @@ discard """
 import std/atomics
 
 when defined(nimPreviewSlimSystem):
-  import std/[assertions, threads]
+  import std/[assertions, typedthreads]
 
 const MemBlockSize = 256
 
diff --git a/tests/stdlib/tenvvars.nim b/tests/stdlib/tenvvars.nim
index e49bd519a..03a46a013 100644
--- a/tests/stdlib/tenvvars.nim
+++ b/tests/stdlib/tenvvars.nim
@@ -10,7 +10,7 @@ import stdtest/testutils
 import std/[assertions]
 
 when not defined(js):
-  import std/threads
+  import std/typedthreads
 
 # "LATIN CAPITAL LETTER AE" in UTF-8 (0xc386)
 const unicodeUtf8 = "\xc3\x86"
diff --git a/tests/stdlib/tnetdial.nim b/tests/stdlib/tnetdial.nim
index 41485d525..a1e147ad5 100644
--- a/tests/stdlib/tnetdial.nim
+++ b/tests/stdlib/tnetdial.nim
@@ -5,7 +5,7 @@ discard """
 """
 
 import os, net, nativesockets, asyncdispatch
-import std/[assertions, threads]
+import std/[assertions, typedthreads]
 
 ## Test for net.dial
 
diff --git a/tests/stdlib/tosenv.nim b/tests/stdlib/tosenv.nim
index f715b4b70..20264102f 100644
--- a/tests/stdlib/tosenv.nim
+++ b/tests/stdlib/tosenv.nim
@@ -58,7 +58,7 @@ proc c_getenv(env: cstring): cstring {.importc: "getenv", header: "<stdlib.h>".}
 
 when not defined(js) and not defined(nimscript):
   when defined(nimPreviewSlimSystem):
-    import std/threads
+    import std/typedthreads
   block: # bug #18533
     var thr: Thread[void]
     proc threadFunc {.thread.} = putEnv("foo", "fooVal2")
diff --git a/tests/stdlib/tssl.nim b/tests/stdlib/tssl.nim
index e4c6f68cf..f8e52ab4b 100644
--- a/tests/stdlib/tssl.nim
+++ b/tests/stdlib/tssl.nim
@@ -4,7 +4,7 @@ discard """
   disabled: "openbsd"
 """
 # disabled: pending bug #15713
-import std/[net, nativesockets, assertions, threads]
+import std/[net, nativesockets, assertions, typedthreads]
 
 when defined(posix): import os, posix
 else:
diff --git a/tests/threads/t7172.nim b/tests/threads/t7172.nim
index 127ed456e..8dcca74a3 100644
--- a/tests/threads/t7172.nim
+++ b/tests/threads/t7172.nim
@@ -10,7 +10,7 @@ Crashes before getting here!
 """
 
 import std/os
-import std/threads
+import std/typedthreads
 
 proc whatever() {.thread, nimcall.} =
   echo("TEST")