aboutsummaryrefslogtreecommitdiff
path: root/spec/list_spec.lua
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2024-02-21 22:30:40 -0300
committerHisham Muhammad <hisham@gobolinux.org>2024-02-21 22:43:05 -0300
commitf4fda82fdef92e31cf9be6478793ee648eaea557 (patch)
treebd43b43a99111cd43be2b9020d11dbbd2f65809b /spec/list_spec.lua
parenta75d447e10bb7842cdbed0bb494697ddd88fd455 (diff)
downloadluarocks-f4fda82fdef92e31cf9be6478793ee648eaea557.tar.gz
luarocks-f4fda82fdef92e31cf9be6478793ee648eaea557.tar.bz2
luarocks-f4fda82fdef92e31cf9be6478793ee648eaea557.zip
tests: introduce quick tests
Diffstat (limited to 'spec/list_spec.lua')
-rw-r--r--spec/list_spec.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/list_spec.lua b/spec/list_spec.lua
index 54c63bea..4c7fc776 100644
--- a/spec/list_spec.lua
+++ b/spec/list_spec.lua
@@ -38,9 +38,4 @@ describe("luarocks list #integration", function()
38 assert.is.truthy(output:find("say")) 38 assert.is.truthy(output:find("say"))
39 assert.matches("1.0-1 < ", output, 1, true) 39 assert.matches("1.0-1 < ", output, 1, true)
40 end) 40 end)
41
42 it("invalid tree", function()
43 local output = run.luarocks("--tree=/some/invalid/tree list")
44 assert(output:find("Rocks installed for Lua "..test_env.lua_version.." in /some/invalid/tree", 1, true))
45 end)
46end) 41end)