diff options
author | Araq <rumpf_a@web.de> | 2020-05-01 15:49:05 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2020-05-02 22:31:19 +0200 |
commit | 8e04ef3c0fd1316f1a59c6a6379645e0365a52f2 (patch) | |
tree | 67e455e152702658c581fe6451aaf1af82bb3639 /tests | |
parent | 15f54728ef3ac639a96c917799b194418dff3874 (diff) | |
download | Nim-8e04ef3c0fd1316f1a59c6a6379645e0365a52f2.tar.gz |
closes #14142
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_nimscript.nims | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/test_nimscript.nims b/tests/test_nimscript.nims index 0b454ad1c..2325d96cb 100644 --- a/tests/test_nimscript.nims +++ b/tests/test_nimscript.nims @@ -11,7 +11,7 @@ import std/[ # Algorithms: algorithm, sequtils, - + # Collections: critbits, deques, heapqueue, intsets, lists, options, sets, sharedlist, tables, @@ -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 @@ -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." |