diff options
Diffstat (limited to 'spec/list_spec.lua')
-rw-r--r-- | spec/list_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/list_spec.lua b/spec/list_spec.lua index 07d60bf0..d6aeef38 100644 --- a/spec/list_spec.lua +++ b/spec/list_spec.lua | |||
@@ -17,7 +17,7 @@ describe("LuaRocks list tests #blackbox #b_list", function() | |||
17 | 17 | ||
18 | it("LuaRocks list with no flags/arguments", function() | 18 | it("LuaRocks list with no flags/arguments", function() |
19 | local output = run.luarocks("list") | 19 | local output = run.luarocks("list") |
20 | assert.is.truthy(output:find("luacov")) | 20 | assert.match("luacov", output) |
21 | end) | 21 | end) |
22 | 22 | ||
23 | it("LuaRocks list porcelain", function() | 23 | it("LuaRocks list porcelain", function() |
@@ -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(output:find("Installed rocks for Lua "..test_env.lua_version..":----------------", 1, true)) | 36 | assert(output:find("Installed rocks for Lua "..test_env.lua_version, 1, true)) |
37 | end) | 37 | end) |
38 | end) | 38 | end) |