diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2019-11-08 18:08:13 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2019-11-29 18:36:42 -0300 |
| commit | b375f9d930f787c9224b5eaf8940486802098778 (patch) | |
| tree | 719eeebd7a21c22c6cc8187f556608a46a441efd /spec | |
| parent | b4dfc787519e9d6df798812858e70778b7c5cf30 (diff) | |
| download | luarocks-b375f9d930f787c9224b5eaf8940486802098778.tar.gz luarocks-b375f9d930f787c9224b5eaf8940486802098778.tar.bz2 luarocks-b375f9d930f787c9224b5eaf8940486802098778.zip | |
refactor dependency scanning for reuse when building lockfile
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/install_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/install_spec.lua b/spec/install_spec.lua index 9b082ab8..bf50ced7 100644 --- a/spec/install_spec.lua +++ b/spec/install_spec.lua | |||
| @@ -184,7 +184,7 @@ describe("luarocks install #integration", function() | |||
| 184 | it("only-deps of luasocket packed rock", function() | 184 | it("only-deps of luasocket packed rock", function() |
| 185 | assert.is_true(run.luarocks_bool("build --pack-binary-rock luasocket 3.0rc1-2")) | 185 | assert.is_true(run.luarocks_bool("build --pack-binary-rock luasocket 3.0rc1-2")) |
| 186 | local output = run.luarocks("install --only-deps " .. "luasocket-3.0rc1-2." .. test_env.platform .. ".rock") | 186 | local output = run.luarocks("install --only-deps " .. "luasocket-3.0rc1-2." .. test_env.platform .. ".rock") |
| 187 | assert.are.same("Successfully installed dependencies for luasocket 3.0rc1-2", output:gsub("\n", "")) | 187 | assert.match("Successfully installed dependencies for luasocket 3.0rc1-2", output, 1, true) |
| 188 | assert.is_true(os.remove("luasocket-3.0rc1-2." .. test_env.platform .. ".rock")) | 188 | assert.is_true(os.remove("luasocket-3.0rc1-2." .. test_env.platform .. ".rock")) |
| 189 | end) | 189 | end) |
| 190 | 190 | ||
