diff options
author | Hisham <hisham@gobolinux.org> | 2016-07-28 18:25:24 -0300 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-07-28 18:25:24 -0300 |
commit | 36b0198c669e1fcbe706b371bb983e190decd664 (patch) | |
tree | 00a1cb960587bd62782ecd784c73b402e808fa37 /spec/unpack_spec.lua | |
parent | 67a737310b31eed8d1c38eb0e34ff4b6fc411731 (diff) | |
download | luarocks-36b0198c669e1fcbe706b371bb983e190decd664.tar.gz luarocks-36b0198c669e1fcbe706b371bb983e190decd664.tar.bz2 luarocks-36b0198c669e1fcbe706b371bb983e190decd664.zip |
Fix download in test.
Diffstat (limited to 'spec/unpack_spec.lua')
-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") |