diff options
Diffstat (limited to 'tests/js/tstdlib_imports.nim')
-rw-r--r-- | tests/js/tstdlib_imports.nim | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/js/tstdlib_imports.nim b/tests/js/tstdlib_imports.nim index 30aca7561..db851ba28 100644 --- a/tests/js/tstdlib_imports.nim +++ b/tests/js/tstdlib_imports.nim @@ -4,6 +4,11 @@ discard """ {.warning[UnusedImport]: off.} +when defined(nimPreviewSlimSystem): + import std/[ + syncio, assertions, formatfloat, objectdollar, widestrs + ] + import std/[ # Core: bitops, typetraits, lenientops, macros, volatile, typeinfo, @@ -20,7 +25,7 @@ import std/[ # Strings: cstrutils, editdistance, wordwrap, parseutils, ropes, - pegs, punycode, strformat, strmisc, strscans, strtabs, + pegs, strformat, strmisc, strscans, strtabs, strutils, unicode, unidecode, # fails due to FFI: encodings @@ -40,7 +45,7 @@ import std/[ # Internet protocols: cookies, httpcore, mimetypes, uri, # fails due to FFI: asyncdispatch, asyncfile, asyncftpclient, asynchttpserver, - # asyncnet, cgi, httpclient, nativesockets, net, selectors, smtp + # asyncnet, cgi, httpclient, nativesockets, net, selectors # works but no need to test: asyncstreams, asyncfutures # Threading: @@ -57,7 +62,7 @@ import std/[ htmlgen, # Hashing: - base64, hashes, md5, + base64, hashes, # fails due to cstring cast/endians import: oids # fails due to copyMem/endians import: sha1 |