diff options
Diffstat (limited to 'test/lua_runner.lua')
-rw-r--r-- | test/lua_runner.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/lua_runner.lua b/test/lua_runner.lua index 158412b04c..3bee035e78 100644 --- a/test/lua_runner.lua +++ b/test/lua_runner.lua @@ -2,10 +2,8 @@ local platform = vim.uv.os_uname() local deps_install_dir = table.remove(_G.arg, 1) local subcommand = table.remove(_G.arg, 1) local suffix = (platform and platform.sysname:lower():find 'windows') and '.dll' or '.so' -package.path = deps_install_dir - .. '/share/lua/5.1/?.lua;' - .. deps_install_dir - .. '/share/lua/5.1/?/init.lua;' +package.path = (deps_install_dir .. '/share/lua/5.1/?.lua;') + .. (deps_install_dir .. '/share/lua/5.1/?/init.lua;') .. package.path package.cpath = deps_install_dir .. '/lib/lua/5.1/?' .. suffix .. ';' .. package.cpath |