diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2020-01-14 18:05:46 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2020-01-14 22:48:08 -0300 |
commit | 74960d73342da4408aa59373cc3dcd898c7d1eb1 (patch) | |
tree | 44dd6f93213e7626f2af88e5a7f71ff310f41bea /spec | |
parent | 6f5306ddaae3a14be5f385fa6f97546d6df9de4e (diff) | |
download | luarocks-74960d73342da4408aa59373cc3dcd898c7d1eb1.tar.gz luarocks-74960d73342da4408aa59373cc3dcd898c7d1eb1.tar.bz2 luarocks-74960d73342da4408aa59373cc3dcd898c7d1eb1.zip |
cmd: fallback to actual PATH search
Diffstat (limited to 'spec')
-rw-r--r-- | spec/cmd_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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() | |||
51 | describe("--lua-version", function() | 51 | describe("--lua-version", function() |
52 | it("warns but continues if given an invalid version", function() | 52 | it("warns but continues if given an invalid version", function() |
53 | local output = run.luarocks("--lua-version=1.0") | 53 | local output = run.luarocks("--lua-version=1.0") |
54 | assert.match("Warning: Could not find a Lua 1.0 interpreter", output, 1, true) | 54 | assert.match("Warning: Lua 1.0 interpreter not found", output, 1, true) |
55 | assert.match("Lua version: 1.0", output, 1, true) | 55 | assert.match("Lua version: 1.0", output, 1, true) |
56 | end) | 56 | end) |
57 | 57 | ||