diff options
Diffstat (limited to 'spec/test_spec.lua')
| -rw-r--r-- | spec/test_spec.lua | 3 |
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) | |||
| 82 | test_env.unload_luarocks() | 82 | test_env.unload_luarocks() |
| 83 | 83 | ||
| 84 | local fs = require("luarocks.fs") | 84 | local fs = require("luarocks.fs") |
| 85 | local cfg = require("luarocks.core.cfg") | ||
| 85 | local path = require("luarocks.path") | 86 | local path = require("luarocks.path") |
| 86 | local test = require("luarocks.test") | 87 | local test = require("luarocks.test") |
| 87 | local test_busted = require("luarocks.test.busted") | 88 | local 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 |
