summary refs log tree commit diff stats
path: root/tests/manyloc
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-05-30 17:40:06 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-05-30 17:40:13 +0200
commit3cedf3e887fc4ac40e94ee3ae355c5de7e70d884 (patch)
tree07f0ba854e385bf56a670b8e0a5b406f4e8447f8 /tests/manyloc
parent0ef391b4ccda5d97574e9676b30337f3434bbef2 (diff)
downloadNim-3cedf3e887fc4ac40e94ee3ae355c5de7e70d884.tar.gz
make test green
Diffstat (limited to 'tests/manyloc')
-rw-r--r--tests/manyloc/nake/nakefile.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manyloc/nake/nakefile.nim b/tests/manyloc/nake/nakefile.nim
index e91b86986..2055d7834 100644
--- a/tests/manyloc/nake/nakefile.nim
+++ b/tests/manyloc/nake/nakefile.nim
@@ -1,5 +1,5 @@
 import nake
-import httpclient, zip/zipfiles, times, math, sequtils
+import httpclient, zip/zipfiles, times, random, sequtils
 nakeImports
 
 randomize()
@@ -145,7 +145,7 @@ task "download", "download game assets":
     echo "Extracted the libs dir. Copy the ones you need to this dir."
 
 task "zip-lib", "zip up the libs dir":
-  var z: TZipArchive
+  var z: ZipArchive
   if not z.open("libs-" & getDateStr() & ".zip", fmReadWrite):
     quit "Could not open zip"
   for file in walkDirRec("libs", {pcFile, pcDir}):