From 74960d73342da4408aa59373cc3dcd898c7d1eb1 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Tue, 14 Jan 2020 18:05:46 -0300 Subject: cmd: fallback to actual PATH search --- spec/cmd_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/cmd_spec.lua b/spec/cmd_spec.lua index 21b25fe5..705b8845 100644 --- a/spec/cmd_spec.lua +++ b/spec/cmd_spec.lua @@ -51,7 +51,7 @@ describe("LuaRocks command line #integration", function() describe("--lua-version", function() it("warns but continues if given an invalid version", function() local output = run.luarocks("--lua-version=1.0") - assert.match("Warning: Could not find a Lua 1.0 interpreter", output, 1, true) + assert.match("Warning: Lua 1.0 interpreter not found", output, 1, true) assert.match("Lua version: 1.0", output, 1, true) end) -- cgit v1.2.3-55-g6feb