aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-03-30 17:03:22 -0300
committerHisham Muhammad <hisham@gobolinux.org>2018-03-30 19:52:17 -0300
commitad4b4b29a7af9c8df859781dab51ef38a9a9895d (patch)
tree7f66213b912d20bc6be1309dadfb0d03f9ff8435 /spec
parent657d3f16a49bdea0cb61c26ec819c98d06f2b480 (diff)
downloadluarocks-ad4b4b29a7af9c8df859781dab51ef38a9a9895d.tar.gz
luarocks-ad4b4b29a7af9c8df859781dab51ef38a9a9895d.tar.bz2
luarocks-ad4b4b29a7af9c8df859781dab51ef38a9a9895d.zip
Tests: fix luarocks list test
Diffstat (limited to 'spec')
-rw-r--r--spec/list_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/list_spec.lua b/spec/list_spec.lua
index 9f221b90..07d60bf0 100644
--- a/spec/list_spec.lua
+++ b/spec/list_spec.lua
@@ -33,6 +33,6 @@ describe("LuaRocks list tests #blackbox #b_list", function()
33 33
34 it("LuaRocks list invalid tree", function() 34 it("LuaRocks list invalid tree", function()
35 local output = run.luarocks("--tree=/some/invalid/tree list") 35 local output = run.luarocks("--tree=/some/invalid/tree list")
36 assert.are.same(output, "Installed rocks:----------------") 36 assert(output:find("Installed rocks for Lua "..test_env.lua_version..":----------------", 1, true))
37 end) 37 end)
38end) 38end)