diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-01-08 16:26:48 -0200 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-01-08 16:26:48 -0200 |
commit | d80124af9cd929b395b4d4c353b51ccc902a3f9e (patch) | |
tree | a738a509039b286697819db762916cfda0384413 /spec/lint_spec.lua | |
parent | 98a0bd9a97190be8ba10f14a3d67e42de827b04a (diff) | |
download | luarocks-d80124af9cd929b395b4d4c353b51ccc902a3f9e.tar.gz luarocks-d80124af9cd929b395b4d4c353b51ccc902a3f9e.tar.bz2 luarocks-d80124af9cd929b395b4d4c353b51ccc902a3f9e.zip |
Reorganize test suite files
Diffstat (limited to 'spec/lint_spec.lua')
-rw-r--r-- | spec/lint_spec.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/lint_spec.lua b/spec/lint_spec.lua index f7496037..1c082b2a 100644 --- a/spec/lint_spec.lua +++ b/spec/lint_spec.lua | |||
@@ -1,4 +1,4 @@ | |||
1 | local test_env = require("test/test_environment") | 1 | local test_env = require("spec.util.test_env") |
2 | local run = test_env.run | 2 | local run = test_env.run |
3 | local testing_paths = test_env.testing_paths | 3 | local testing_paths = test_env.testing_paths |
4 | 4 | ||
@@ -31,19 +31,19 @@ describe("LuaRocks lint tests #blackbox #b_lint", function() | |||
31 | 31 | ||
32 | describe("LuaRocks lint mismatch set", function() | 32 | describe("LuaRocks lint mismatch set", function() |
33 | it("LuaRocks lint mismatch string", function() | 33 | it("LuaRocks lint mismatch string", function() |
34 | assert.is_false(run.luarocks_bool("lint " .. testing_paths.testing_dir .. "/testfiles/type_mismatch_string-1.0-1.rockspec")) | 34 | assert.is_false(run.luarocks_bool("lint " .. testing_paths.fixtures_dir .. "/type_mismatch_string-1.0-1.rockspec")) |
35 | end) | 35 | end) |
36 | 36 | ||
37 | it("LuaRocks lint mismatch version", function() | 37 | it("LuaRocks lint mismatch version", function() |
38 | assert.is_false(run.luarocks_bool("lint " .. testing_paths.testing_dir .. "/testfiles/type_mismatch_version-1.0-1.rockspec")) | 38 | assert.is_false(run.luarocks_bool("lint " .. testing_paths.fixtures_dir .. "/type_mismatch_version-1.0-1.rockspec")) |
39 | end) | 39 | end) |
40 | 40 | ||
41 | it("LuaRocks lint mismatch table", function() | 41 | it("LuaRocks lint mismatch table", function() |
42 | assert.is_false(run.luarocks_bool("lint " .. testing_paths.testing_dir .. "/testfiles/type_mismatch_table-1.0-1.rockspec")) | 42 | assert.is_false(run.luarocks_bool("lint " .. testing_paths.fixtures_dir .. "/type_mismatch_table-1.0-1.rockspec")) |
43 | end) | 43 | end) |
44 | 44 | ||
45 | it("LuaRocks lint mismatch no build table", function() | 45 | it("LuaRocks lint mismatch no build table", function() |
46 | assert.is_false(run.luarocks_bool("lint " .. testing_paths.testing_dir .. "/testfiles/no_build_table-1.0-1.rockspec")) | 46 | assert.is_false(run.luarocks_bool("lint " .. testing_paths.fixtures_dir .. "/no_build_table-1.0-1.rockspec")) |
47 | end) | 47 | end) |
48 | end) | 48 | end) |
49 | end) | 49 | end) |