summaryrefslogtreecommitdiff
path: root/spec/unpack_spec.lua
diff options
context:
space:
mode:
authorPeter Melnichenko <mpeterval@gmail.com>2016-07-08 14:41:15 +0300
committerPeter Melnichenko <mpeterval@gmail.com>2016-07-08 14:43:24 +0300
commitab86e13d0a408691b48786c394404736b7ac8dc0 (patch)
treeddbb2d397c302cda6dbd7dd5d8a8b4b6d275e3cc /spec/unpack_spec.lua
parent8867f3324d97584ed24f3a1082144e9b1375d663 (diff)
downloadluarocks-ab86e13d0a408691b48786c394404736b7ac8dc0.tar.gz
luarocks-ab86e13d0a408691b48786c394404736b7ac8dc0.tar.bz2
luarocks-ab86e13d0a408691b48786c394404736b7ac8dc0.zip
Remove some more unused stuff and globals from tests
Diffstat (limited to 'spec/unpack_spec.lua')
-rw-r--r--spec/unpack_spec.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/unpack_spec.lua b/spec/unpack_spec.lua
index db71aa06..76e9e5a8 100644
--- a/spec/unpack_spec.lua
+++ b/spec/unpack_spec.lua
@@ -13,7 +13,6 @@ describe("LuaRocks unpack tests #blackbox #b_unpack", function()
13 13
14 before_each(function() 14 before_each(function()
15 test_env.setup_specs(extra_rocks) 15 test_env.setup_specs(extra_rocks)
16 platform = test_env.platform
17 end) 16 end)
18 17
19 describe("LuaRocks unpack basic fail tests", function() 18 describe("LuaRocks unpack basic fail tests", function()
@@ -49,9 +48,9 @@ describe("LuaRocks unpack tests #blackbox #b_unpack", function()
49 it("LuaRocks unpack binary", function() 48 it("LuaRocks unpack binary", function()
50 assert.is_true(run.luarocks_bool("build cprint")) 49 assert.is_true(run.luarocks_bool("build cprint"))
51 assert.is_true(run.luarocks_bool("pack cprint")) 50 assert.is_true(run.luarocks_bool("pack cprint"))
52 assert.is_true(run.luarocks_bool("unpack cprint-0.1-2." .. platform .. ".rock")) 51 assert.is_true(run.luarocks_bool("unpack cprint-0.1-2." .. test_env.platform .. ".rock"))
53 test_env.remove_dir("cprint-0.1-2") 52 test_env.remove_dir("cprint-0.1-2")
54 os.remove("cprint-0.1-2." .. platform .. ".rock") 53 os.remove("cprint-0.1-2." .. test_env.platform .. ".rock")
55 end) 54 end)
56 end) 55 end)
57end) 56end)