From b375f9d930f787c9224b5eaf8940486802098778 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Fri, 8 Nov 2019 18:08:13 -0300 Subject: refactor dependency scanning for reuse when building lockfile --- spec/install_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') 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() it("only-deps of luasocket packed rock", function() assert.is_true(run.luarocks_bool("build --pack-binary-rock luasocket 3.0rc1-2")) local output = run.luarocks("install --only-deps " .. "luasocket-3.0rc1-2." .. test_env.platform .. ".rock") - assert.are.same("Successfully installed dependencies for luasocket 3.0rc1-2", output:gsub("\n", "")) + assert.match("Successfully installed dependencies for luasocket 3.0rc1-2", output, 1, true) assert.is_true(os.remove("luasocket-3.0rc1-2." .. test_env.platform .. ".rock")) end) -- cgit v1.2.3-55-g6feb