diff options
Diffstat (limited to '')
-rw-r--r-- | spec/list_spec.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/list_spec.lua b/spec/list_spec.lua index 1b082ab6..b9a8e4c4 100644 --- a/spec/list_spec.lua +++ b/spec/list_spec.lua | |||
@@ -22,8 +22,7 @@ describe("LuaRocks list tests #blackbox #b_list", function() | |||
22 | 22 | ||
23 | it("LuaRocks list porcelain", function() | 23 | it("LuaRocks list porcelain", function() |
24 | local output = run.luarocks("list --porcelain") | 24 | local output = run.luarocks("list --porcelain") |
25 | local path = testing_paths.testing_sys_tree:gsub("-", "--") -- !not sure! why this is good | 25 | assert.is.truthy(output:find("luacov\t0.11.0-1\tinstalled\t" .. testing_paths.testing_sys_rocks, 1, true)) |
26 | assert.is.truthy(output:find("luacov\t0.11.0--1\tinstalled\t" .. path .. "/lib/luarocks/rocks" )) | ||
27 | end) | 26 | end) |
28 | 27 | ||
29 | it("LuaRocks install outdated and list it", function() | 28 | it("LuaRocks install outdated and list it", function() |