aboutsummaryrefslogtreecommitdiff
path: root/spec/fetch_spec.lua
diff options
context:
space:
mode:
authorPeter Melnichenko <mpeterval@gmail.com>2016-07-09 16:35:33 +0400
committerGitHub <noreply@github.com>2016-07-09 16:35:33 +0400
commit8e55688c191827a9b2e9c499a95c888078979e8c (patch)
treeaeaf8c1886c949e8e357b59a04cebc3be3930bce /spec/fetch_spec.lua
parent5af7e0d7c2dcf65e41ae8523f3771e9528be32a7 (diff)
parenta05ba7ce42ae4e42f80b5cacdd8770ae5e6cc04b (diff)
downloadluarocks-8e55688c191827a9b2e9c499a95c888078979e8c.tar.gz
luarocks-8e55688c191827a9b2e9c499a95c888078979e8c.tar.bz2
luarocks-8e55688c191827a9b2e9c499a95c888078979e8c.zip
Merge pull request #583 from mpeterv/adjust-new-tests
Minor changes and fixes for new test suite
Diffstat (limited to 'spec/fetch_spec.lua')
-rw-r--r--spec/fetch_spec.lua3
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 @@
1local test_env = require("test/test_environment") 1local test_env = require("test/test_environment")
2local lfs = require("lfs")
3 2
4test_env.unload_luarocks() 3test_env.unload_luarocks()
5local fetch = require("luarocks.fetch") 4local 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)
16end) \ No newline at end of file 15end)