aboutsummaryrefslogtreecommitdiff
path: root/spec/fetch_spec.lua
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2022-03-06 14:50:49 -0300
committerHisham Muhammad <hisham@gobolinux.org>2022-03-06 23:04:20 -0300
commit2fac17d4d211adf9c1fe9668094febb55ee92389 (patch)
tree5a208594d4598a78c1b7786156c212b6235c587b /spec/fetch_spec.lua
parent1138b2c1d84cee1dd165b17bd353e2ca38466eb7 (diff)
downloadluarocks-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/fetch_spec.lua')
-rw-r--r--spec/fetch_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/fetch_spec.lua b/spec/fetch_spec.lua
index 0087159b..046d7b7b 100644
--- a/spec/fetch_spec.lua
+++ b/spec/fetch_spec.lua
@@ -277,7 +277,7 @@ describe("luarocks fetch #unit #mock", function()
277 end) 277 end)
278 278
279 it("returns false if the rockspec in invalid", function() 279 it("returns false if the rockspec in invalid", function()
280 assert.falsy(fetch.load_local_rockspec(testing_paths.fixtures_dir .. "/invalid_validate-args-1.5.4-1.rockspec")) 280 assert.falsy(fetch.load_local_rockspec(testing_paths.fixtures_dir .. "/invalid_say-1.3-1.rockspec"))
281 end) 281 end)
282 282
283 it("returns false if the rockspec version is not supported", function() 283 it("returns false if the rockspec version is not supported", function()