diff options
Diffstat (limited to 'spec/fetch_spec.lua')
| -rw-r--r-- | spec/fetch_spec.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/fetch_spec.lua b/spec/fetch_spec.lua index ce4cfb56..6e00bc22 100644 --- a/spec/fetch_spec.lua +++ b/spec/fetch_spec.lua | |||
| @@ -3,6 +3,7 @@ local git_repo = require("spec.util.git_repo") | |||
| 3 | 3 | ||
| 4 | test_env.unload_luarocks() | 4 | test_env.unload_luarocks() |
| 5 | test_env.setup_specs() | 5 | test_env.setup_specs() |
| 6 | local fs = require("luarocks.fs") | ||
| 6 | local fetch = require("luarocks.fetch") | 7 | local fetch = require("luarocks.fetch") |
| 7 | local fs = require("luarocks.fs") | 8 | local fs = require("luarocks.fs") |
| 8 | local path = require("luarocks.path") | 9 | local path = require("luarocks.path") |
| @@ -20,6 +21,7 @@ describe("Luarocks fetch test #unit #mock", function() | |||
| 20 | local runner | 21 | local runner |
| 21 | 22 | ||
| 22 | setup(function() | 23 | setup(function() |
| 24 | fs.init() | ||
| 23 | test_env.mock_server_init() | 25 | test_env.mock_server_init() |
| 24 | 26 | ||
| 25 | runner = require("luacov.runner") | 27 | runner = require("luacov.runner") |
