aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/overrides_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-12-02 22:38:36 -0800
committerGitHub <noreply@github.com>2019-12-02 22:38:36 -0800
commitb1e4ec1c2a08981683b2355715a421c0bfb64644 (patch)
tree4b19d5f14230929c226ea916c1538fb492e511c0 /test/functional/lua/overrides_spec.lua
parent22b52dd462e5dc9d5429305215bfb20aa20517c5 (diff)
parenta3b6c2a3dc5576db45fe4e893cfb8482af591c92 (diff)
downloadrneovim-b1e4ec1c2a08981683b2355715a421c0bfb64644.tar.gz
rneovim-b1e4ec1c2a08981683b2355715a421c0bfb64644.tar.bz2
rneovim-b1e4ec1c2a08981683b2355715a421c0bfb64644.zip
Merge #11500 from justinmk/api-deprecate
API: rename nvim_execute_lua, deprecate nvim_command_output
Diffstat (limited to 'test/functional/lua/overrides_spec.lua')
-rw-r--r--test/functional/lua/overrides_spec.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/functional/lua/overrides_spec.lua b/test/functional/lua/overrides_spec.lua
index 8c260632d9..1bccc02847 100644
--- a/test/functional/lua/overrides_spec.lua
+++ b/test/functional/lua/overrides_spec.lua
@@ -299,14 +299,11 @@ describe('package.path/package.cpath', function()
end
return new_paths
end
- local function execute_lua(cmd, ...)
- return meths.execute_lua(cmd, {...})
- end
local function eval_lua(expr, ...)
- return meths.execute_lua('return ' .. expr, {...})
+ return meths.exec_lua('return '..expr, {...})
end
local function set_path(which, value)
- return execute_lua('package[select(1, ...)] = select(2, ...)', which, value)
+ return exec_lua('package[select(1, ...)] = select(2, ...)', which, value)
end
it('contains directories from &runtimepath on first invocation', function()