From be744c86fe7c38dbe00ea7ac59451dcc3fded4fb Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 23 Apr 2018 13:56:41 -0300 Subject: Tests: make list test more lenient on installed version --- spec/list_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/list_spec.lua b/spec/list_spec.lua index f11c884d..5a5e363a 100644 --- a/spec/list_spec.lua +++ b/spec/list_spec.lua @@ -35,7 +35,7 @@ describe("LuaRocks list tests #blackbox #b_list", function() assert.is_true(run.luarocks_bool("install say 1.0-1")) local output = run.luarocks("list --outdated") assert.is.truthy(output:find("say")) - assert.matches("1.0-1 < 1.2-1", output, 1, true) + assert.matches("1.0-1 < ", output, 1, true) end) it("LuaRocks list invalid tree", function() -- cgit v1.2.3-55-g6feb