diff options
Diffstat (limited to 'spec/config_spec.lua')
-rw-r--r-- | spec/config_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/config_spec.lua b/spec/config_spec.lua index df2480ac..4a09fdcf 100644 --- a/spec/config_spec.lua +++ b/spec/config_spec.lua | |||
@@ -1,5 +1,7 @@ | |||
1 | local test_env = require("test/test_environment") | 1 | local test_env = require("test/test_environment") |
2 | local lfs = require("lfs") | 2 | local lfs = require("lfs") |
3 | local run = test_env.run | ||
4 | local testing_paths = test_env.testing_paths | ||
3 | 5 | ||
4 | test_env.unload_luarocks() | 6 | test_env.unload_luarocks() |
5 | 7 | ||
@@ -9,8 +11,6 @@ describe("LuaRocks config tests #blackbox #b_config", function() | |||
9 | test_env.setup_specs(extra_rocks) | 11 | test_env.setup_specs(extra_rocks) |
10 | test_env.unload_luarocks() -- need to be required here, because site_config is created after first loading of specs | 12 | test_env.unload_luarocks() -- need to be required here, because site_config is created after first loading of specs |
11 | site_config = require("luarocks.site_config") | 13 | site_config = require("luarocks.site_config") |
12 | testing_paths = test_env.testing_paths | ||
13 | run = test_env.run | ||
14 | end) | 14 | end) |
15 | 15 | ||
16 | describe("LuaRocks config - basic tests", function() | 16 | describe("LuaRocks config - basic tests", function() |