diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2022-03-06 14:50:49 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2022-03-06 23:04:20 -0300 |
commit | 2fac17d4d211adf9c1fe9668094febb55ee92389 (patch) | |
tree | 5a208594d4598a78c1b7786156c212b6235c587b /spec/lint_spec.lua | |
parent | 1138b2c1d84cee1dd165b17bd353e2ca38466eb7 (diff) | |
download | luarocks-2fac17d4d211adf9c1fe9668094febb55ee92389.tar.gz luarocks-2fac17d4d211adf9c1fe9668094febb55ee92389.tar.bz2 luarocks-2fac17d4d211adf9c1fe9668094febb55ee92389.zip |
tests: don't use validate-args rockspec in tests
We only used the rockspec in testing, but since the app it refers
to is GPL-3, it could cause confusion among users, so let's just
drop it from the test suite.
Closes #1387.
Diffstat (limited to 'spec/lint_spec.lua')
-rw-r--r-- | spec/lint_spec.lua | 8 |
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() | |||
7 | local lfs = require("lfs") | 7 | local lfs = require("lfs") |
8 | 8 | ||
9 | local extra_rocks = { | 9 | local extra_rocks = { |
10 | "/validate-args-1.5.4-1.rockspec" | 10 | "/say-1.3-1.rockspec" |
11 | } | 11 | } |
12 | 12 | ||
13 | describe("luarocks lint #integration", function() | 13 | describe("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() |