aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ex_cmds/script_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-12-01 22:43:16 -0800
committerJustin M. Keyes <justinkz@gmail.com>2019-12-02 20:52:06 -0800
commitc34130d13a842ae0c0c1724d05800a954547d327 (patch)
tree1f24de9e40afe266f35ebbb6c2fc09be969989c3 /test/functional/ex_cmds/script_spec.lua
parent22b52dd462e5dc9d5429305215bfb20aa20517c5 (diff)
downloadrneovim-c34130d13a842ae0c0c1724d05800a954547d327.tar.gz
rneovim-c34130d13a842ae0c0c1724d05800a954547d327.tar.bz2
rneovim-c34130d13a842ae0c0c1724d05800a954547d327.zip
API: deprecate nvim_command_output
Diffstat (limited to 'test/functional/ex_cmds/script_spec.lua')
-rw-r--r--test/functional/ex_cmds/script_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/ex_cmds/script_spec.lua b/test/functional/ex_cmds/script_spec.lua
index 4e57d2755d..0a772c559b 100644
--- a/test/functional/ex_cmds/script_spec.lua
+++ b/test/functional/ex_cmds/script_spec.lua
@@ -22,7 +22,7 @@ describe('script_get-based command', function()
%s %s
endif
]])):format(cmd, garbage)))
- eq('', meths.command_output('messages'))
+ eq('', meths.exec('messages', true))
if check_neq then
neq(0, exc_exec(dedent([[
%s %s
@@ -37,7 +37,7 @@ describe('script_get-based command', function()
EOF
endif
]])):format(cmd, garbage)))
- eq('', meths.command_output('messages'))
+ eq('', meths.exec('messages', true))
if check_neq then
eq(true, pcall(source, (dedent([[
let g:exc = 0