diff options
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) |
