aboutsummaryrefslogtreecommitdiff
path: root/spec/test_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/test_spec.lua')
-rw-r--r--spec/test_spec.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/test_spec.lua b/spec/test_spec.lua
index 0111f89a..7a2399a9 100644
--- a/spec/test_spec.lua
+++ b/spec/test_spec.lua
@@ -82,6 +82,7 @@ end)
82test_env.unload_luarocks() 82test_env.unload_luarocks()
83 83
84local fs = require("luarocks.fs") 84local fs = require("luarocks.fs")
85local cfg = require("luarocks.core.cfg")
85local path = require("luarocks.path") 86local path = require("luarocks.path")
86local test = require("luarocks.test") 87local test = require("luarocks.test")
87local test_busted = require("luarocks.test.busted") 88local test_busted = require("luarocks.test.busted")
@@ -91,6 +92,8 @@ describe("LuaRocks test #unit", function()
91 local runner 92 local runner
92 93
93 setup(function() 94 setup(function()
95 cfg.init()
96 fs.init()
94 runner = require("luacov.runner") 97 runner = require("luacov.runner")
95 runner.init(testing_paths.testrun_dir .. "/luacov.config") 98 runner.init(testing_paths.testrun_dir .. "/luacov.config")
96 runner.tick = true 99 runner.tick = true