summaryrefslogtreecommitdiff
path: root/spec/pack_spec.lua
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-01-08 16:26:48 -0200
committerHisham Muhammad <hisham@gobolinux.org>2018-01-08 16:26:48 -0200
commitd80124af9cd929b395b4d4c353b51ccc902a3f9e (patch)
treea738a509039b286697819db762916cfda0384413 /spec/pack_spec.lua
parent98a0bd9a97190be8ba10f14a3d67e42de827b04a (diff)
downloadluarocks-d80124af9cd929b395b4d4c353b51ccc902a3f9e.tar.gz
luarocks-d80124af9cd929b395b4d4c353b51ccc902a3f9e.tar.bz2
luarocks-d80124af9cd929b395b4d4c353b51ccc902a3f9e.zip
Reorganize test suite files
Diffstat (limited to 'spec/pack_spec.lua')
-rw-r--r--spec/pack_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/pack_spec.lua b/spec/pack_spec.lua
index 0c6dd8f2..966195c5 100644
--- a/spec/pack_spec.lua
+++ b/spec/pack_spec.lua
@@ -1,4 +1,4 @@
1local test_env = require("test/test_environment") 1local test_env = require("spec.util.test_env")
2local lfs = require("lfs") 2local lfs = require("lfs")
3local run = test_env.run 3local run = test_env.run
4local testing_paths = test_env.testing_paths 4local testing_paths = test_env.testing_paths
@@ -30,7 +30,7 @@ describe("LuaRocks pack tests #blackbox #b_pack", function()
30 end) 30 end)
31 31
32 it("LuaRocks pack invalid rockspec", function() 32 it("LuaRocks pack invalid rockspec", function()
33 assert.is_false(run.luarocks_bool("pack " .. testing_paths.testing_dir .. "/testfiles/invaild_validate-args-1.5.4-1.rockspec")) 33 assert.is_false(run.luarocks_bool("pack " .. testing_paths.fixtures_dir .. "/invaild_validate-args-1.5.4-1.rockspec"))
34 end) 34 end)
35 35
36 it("LuaRocks pack not installed rock", function() 36 it("LuaRocks pack not installed rock", function()