Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Araq authored and EchoPouet committed Jun 13, 2020
1 parent c9ad655 commit 7532952
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tests/test_nimscript.nims
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import std/[

# Algorithms:
algorithm, sequtils,

# Collections:
critbits, deques, heapqueue, intsets, lists, options, sets,
sharedlist, tables,
Expand Down Expand Up @@ -40,7 +40,7 @@ import std/[
# fails: asyncdispatch, asyncfile, asyncftpclient, asynchttpserver,
# asyncnet, cgi, cookies, httpclient, nativesockets, net, selectors, smtp
# works but shouldn't test: asyncstreams, asyncfutures

# Threading:
# fails: threadpool

Expand Down Expand Up @@ -73,4 +73,11 @@ import std/[
block:
doAssert "./foo//./bar/".normalizedPath == "foo/bar".unixToNativePath

block: # #14142
discard existsDir("/usr")
discard dirExists("/usr")
discard existsFile("/usr/foo")
discard fileExists("/usr/foo")
discard findExe("nim")

echo "Nimscript imports are successful."

0 comments on commit 7532952

Please sign in to comment.