Fix a test installing Lua from git

Bleeding edge Lua is now 5.4 and not supported by LuaRocks,
use latest 5.3 commit instead.
This commit is contained in:
Peter Melnichenko 2018-03-13 12:46:08 +03:00
parent 2d0e07cf7f
commit 248de26b94

View File

@ -67,7 +67,7 @@ class TestCLI(unittest.TestCase):
self.assertHererocksSuccess(["--lua", "latest", "--luarocks", "https://github.com/mpeterv/luarocks@master"]) self.assertHererocksSuccess(["--lua", "latest", "--luarocks", "https://github.com/mpeterv/luarocks@master"])
def test_install_lua_from_git_with_latest_luarocks(self): def test_install_lua_from_git_with_latest_luarocks(self):
self.assertHererocksSuccess(["--lua", "@", "--luarocks", "latest"]) self.assertHererocksSuccess(["--lua", "@b1daa06", "--luarocks", "latest"])
self.assertHererocksSuccess(["--show"], ["Programs installed in", "cloned from https://github.com/lua/lua"]) self.assertHererocksSuccess(["--show"], ["Programs installed in", "cloned from https://github.com/lua/lua"])
self.assertSuccess(["luarocks", "--version"]) self.assertSuccess(["luarocks", "--version"])