diff options
author | Hisham <hisham@gobolinux.org> | 2016-07-28 18:24:44 -0300 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-07-28 18:24:44 -0300 |
commit | dbca97cdcc15e386554b2631a0ae7aca02500abf (patch) | |
tree | a961af029dcb8d8f76a63bbbe41e9a93fcdc55d3 | |
parent | 83b0f6d2343f2631b9dc96c09c2bc4b2cfadd17f (diff) | |
download | luarocks-dbca97cdcc15e386554b2631a0ae7aca02500abf.tar.gz luarocks-dbca97cdcc15e386554b2631a0ae7aca02500abf.tar.bz2 luarocks-dbca97cdcc15e386554b2631a0ae7aca02500abf.zip |
Fix download in test
-rw-r--r-- | spec/unpack_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unpack_spec.lua b/spec/unpack_spec.lua index 495c514e..8db779c3 100644 --- a/spec/unpack_spec.lua +++ b/spec/unpack_spec.lua | |||
@@ -49,7 +49,7 @@ describe("LuaRocks unpack tests #blackbox #b_unpack", function() | |||
49 | end) | 49 | end) |
50 | -- #595 luarocks unpack of a git:// rockspec fails to copy the rockspec | 50 | -- #595 luarocks unpack of a git:// rockspec fails to copy the rockspec |
51 | it("LuaRocks unpack git:// rockspec", function() | 51 | it("LuaRocks unpack git:// rockspec", function() |
52 | assert.is_true(run.luarocks_bool("download --rockspec cprint")) | 52 | assert.is_true(run.luarocks_bool("download --rockspec luazip")) |
53 | assert.is_true(run.luarocks_bool("unpack luazip-1.2.4-1.rockspec")) | 53 | assert.is_true(run.luarocks_bool("unpack luazip-1.2.4-1.rockspec")) |
54 | assert.is_truthy(lfs.attributes("luazip-1.2.4-1/luazip/luazip-1.2.4-1.rockspec")) | 54 | assert.is_truthy(lfs.attributes("luazip-1.2.4-1/luazip/luazip-1.2.4-1.rockspec")) |
55 | test_env.remove_dir("luazip-1.2.4-1") | 55 | test_env.remove_dir("luazip-1.2.4-1") |