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/fetch_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/fetch_spec.lua')
| -rw-r--r-- | spec/fetch_spec.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/fetch_spec.lua b/spec/fetch_spec.lua index 1f298733..05a709e4 100644 --- a/spec/fetch_spec.lua +++ b/spec/fetch_spec.lua | |||
| @@ -1,5 +1,4 @@ | |||
| 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 fetch = require("luarocks.fetch") | 4 | local fetch = require("luarocks.fetch") |
| @@ -13,4 +12,4 @@ describe("Luarocks fetch test #whitebox #w_fetch", function() | |||
| 13 | assert.are.same("parser.moon", fetch.url_to_base_dir("git://github.com/Cirru/parser.moon")) | 12 | assert.are.same("parser.moon", fetch.url_to_base_dir("git://github.com/Cirru/parser.moon")) |
| 14 | assert.are.same("v0.3", fetch.url_to_base_dir("https://github.com/hishamhm/lua-compat-5.2/archive/v0.3")) | 13 | assert.are.same("v0.3", fetch.url_to_base_dir("https://github.com/hishamhm/lua-compat-5.2/archive/v0.3")) |
| 15 | end) | 14 | end) |
| 16 | end) \ No newline at end of file | 15 | end) |
