diff options
| author | Peter Melnichenko <mpeterval@gmail.com> | 2016-07-08 12:44:16 +0300 |
|---|---|---|
| committer | Peter Melnichenko <mpeterval@gmail.com> | 2016-07-08 12:45:26 +0300 |
| commit | fc7d6f7f6542c5eeef8d92ed717132caa45901c8 (patch) | |
| tree | ea2a4c4cb4f00b663ea083844d4fe51c7c1cc7f5 /spec/refresh_cache_spec.lua | |
| parent | 88f6aaeb40958c10a3c7a6fb4d0d699481f2a7be (diff) | |
| download | luarocks-fc7d6f7f6542c5eeef8d92ed717132caa45901c8.tar.gz luarocks-fc7d6f7f6542c5eeef8d92ed717132caa45901c8.tar.bz2 luarocks-fc7d6f7f6542c5eeef8d92ed717132caa45901c8.zip | |
Remove all the unused imports in test suite
Diffstat (limited to 'spec/refresh_cache_spec.lua')
| -rw-r--r-- | spec/refresh_cache_spec.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/refresh_cache_spec.lua b/spec/refresh_cache_spec.lua index 27a95e5c..ef8c3a12 100644 --- a/spec/refresh_cache_spec.lua +++ b/spec/refresh_cache_spec.lua | |||
| @@ -1,8 +1,6 @@ | |||
| 1 | local test_env = require("test/test_environment") | 1 | local test_env = require("test/test_environment") |
| 2 | local lfs = require("lfs") | ||
| 3 | 2 | ||
| 4 | test_env.unload_luarocks() | 3 | test_env.unload_luarocks() |
| 5 | local refresh_cache = require("luarocks.refresh_cache") | ||
| 6 | 4 | ||
| 7 | expose("LuaRocks refresh_cache tests #blackbox #b_refresh_cache", function() | 5 | expose("LuaRocks refresh_cache tests #blackbox #b_refresh_cache", function() |
| 8 | 6 | ||
| @@ -16,4 +14,4 @@ expose("LuaRocks refresh_cache tests #blackbox #b_refresh_cache", function() | |||
| 16 | assert.is_true(run.luarocks_admin_bool("--server=testing refresh_cache")) | 14 | assert.is_true(run.luarocks_admin_bool("--server=testing refresh_cache")) |
| 17 | end) | 15 | end) |
| 18 | end) | 16 | end) |
| 19 | end) \ No newline at end of file | 17 | end) |
