aboutsummaryrefslogtreecommitdiff
path: root/spec/lint_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lint_spec.lua')
-rw-r--r--spec/lint_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/lint_spec.lua b/spec/lint_spec.lua
index ff7a03e9..b205cc57 100644
--- a/spec/lint_spec.lua
+++ b/spec/lint_spec.lua
@@ -7,7 +7,7 @@ test_env.unload_luarocks()
7local lfs = require("lfs") 7local lfs = require("lfs")
8 8
9local extra_rocks = { 9local extra_rocks = {
10 "/validate-args-1.5.4-1.rockspec" 10 "/say-1.3-1.rockspec"
11} 11}
12 12
13describe("luarocks lint #integration", function() 13describe("luarocks lint #integration", function()
@@ -25,10 +25,10 @@ describe("luarocks lint #integration", function()
25 end) 25 end)
26 26
27 it("OK", function() 27 it("OK", function()
28 assert.is_true(run.luarocks_bool("download --rockspec validate-args 1.5.4-1")) 28 assert.is_true(run.luarocks_bool("download --rockspec say 1.3-1"))
29 local output = run.luarocks("lint validate-args-1.5.4-1.rockspec") 29 local output = run.luarocks("lint say-1.3-1.rockspec")
30 assert.are.same(output, "") 30 assert.are.same(output, "")
31 assert.is_true(os.remove("validate-args-1.5.4-1.rockspec")) 31 assert.is_true(os.remove("say-1.3-1.rockspec"))
32 end) 32 end)
33 33
34 describe("mismatch set", function() 34 describe("mismatch set", function()