diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-04-23 13:56:41 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-05-07 19:27:37 -0300 |
commit | be744c86fe7c38dbe00ea7ac59451dcc3fded4fb (patch) | |
tree | 9bf2128c830096d245155ba176b290c86787d57f /spec | |
parent | e287f492cafc0fb7ec6b1e1a3c64ad8fa290a224 (diff) | |
download | luarocks-be744c86fe7c38dbe00ea7ac59451dcc3fded4fb.tar.gz luarocks-be744c86fe7c38dbe00ea7ac59451dcc3fded4fb.tar.bz2 luarocks-be744c86fe7c38dbe00ea7ac59451dcc3fded4fb.zip |
Tests: make list test more lenient on installed version
Diffstat (limited to 'spec')
-rw-r--r-- | spec/list_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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() | |||
35 | assert.is_true(run.luarocks_bool("install say 1.0-1")) | 35 | assert.is_true(run.luarocks_bool("install say 1.0-1")) |
36 | local output = run.luarocks("list --outdated") | 36 | local output = run.luarocks("list --outdated") |
37 | assert.is.truthy(output:find("say")) | 37 | assert.is.truthy(output:find("say")) |
38 | assert.matches("1.0-1 < 1.2-1", output, 1, true) | 38 | assert.matches("1.0-1 < ", output, 1, true) |
39 | end) | 39 | end) |
40 | 40 | ||
41 | it("LuaRocks list invalid tree", function() | 41 | it("LuaRocks list invalid tree", function() |