diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2017-10-04 11:14:42 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-04 11:14:42 -0300 |
commit | 84b4fe99cac37850a97858e0b641043bd3178d8a (patch) | |
tree | b4578689091b8360aed71f531faf2513b7d41684 /spec/list_spec.lua | |
parent | 100c18d048936b5a47f29f55e6ce8b24277fb70f (diff) | |
download | luarocks-84b4fe99cac37850a97858e0b641043bd3178d8a.tar.gz luarocks-84b4fe99cac37850a97858e0b641043bd3178d8a.tar.bz2 luarocks-84b4fe99cac37850a97858e0b641043bd3178d8a.zip |
Use versioned files only. (#734)
Let's take the opportunity of a new major version to make an important cleanup: getting rid of the error-prone unversioned configuration files. This drops support for:
* Unversioned config.lua -> use config-5.x.lua
* Unversioned luarocks/site_config.lua -> it always generates luarocks/core/site_config_5_x.lua
* Unversioned lib/luarocks/rocks -> it always uses lib/luarocks/rocks-5.x
Diffstat (limited to 'spec/list_spec.lua')
-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() |