From e83e64273b8f21a1180963899c595764b7702c68 Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Fri, 21 Dec 2018 21:12:15 -0600 Subject: [PATCH] Minor fixes to unused test file. --- src/test/nim/functional/tcore.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/nim/functional/tcore.nim b/src/test/nim/functional/tcore.nim index 325b771..650ba7a 100644 --- a/src/test/nim/functional/tcore.nim +++ b/src/test/nim/functional/tcore.nim @@ -1,4 +1,4 @@ -import unittest +import tempfile, times, unittest, untar from langutils import sameContents @@ -12,8 +12,8 @@ let TIMEOUT = 2.minutes suite "strawboss core": # Suite setup: extract test project - let testProjTempDir = mkdir() - let testProjTarFile = newTarFile("src/test/test-project.tar.gz:) + let testProjTempDir = mkdtemp() + let testProjTarFile = newTarFile("src/test/test-project.tar.gz") let testProjName = "test-project" testProjTarFile.extract(testProjTempDir)