diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-12-01 22:43:16 -0800 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-12-02 20:52:06 -0800 |
commit | c34130d13a842ae0c0c1724d05800a954547d327 (patch) | |
tree | 1f24de9e40afe266f35ebbb6c2fc09be969989c3 /test/functional/ex_cmds | |
parent | 22b52dd462e5dc9d5429305215bfb20aa20517c5 (diff) | |
download | rneovim-c34130d13a842ae0c0c1724d05800a954547d327.tar.gz rneovim-c34130d13a842ae0c0c1724d05800a954547d327.tar.bz2 rneovim-c34130d13a842ae0c0c1724d05800a954547d327.zip |
API: deprecate nvim_command_output
Diffstat (limited to 'test/functional/ex_cmds')
-rw-r--r-- | test/functional/ex_cmds/script_spec.lua | 4 | ||||
-rw-r--r-- | test/functional/ex_cmds/sign_spec.lua | 4 |
2 files changed, 4 insertions, 4 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 diff --git a/test/functional/ex_cmds/sign_spec.lua b/test/functional/ex_cmds/sign_spec.lua index 9d08a66625..891cfe1670 100644 --- a/test/functional/ex_cmds/sign_spec.lua +++ b/test/functional/ex_cmds/sign_spec.lua @@ -16,8 +16,8 @@ describe('sign', function() nvim('command', 'sign place 34 line=3 name=Foo buffer='..buf2) -- now unplace without specifying a buffer nvim('command', 'sign unplace 34') - eq("--- Signs ---\n", nvim('command_output', 'sign place buffer='..buf1)) - eq("--- Signs ---\n", nvim('command_output', 'sign place buffer='..buf2)) + eq("--- Signs ---\n", nvim('exec', 'sign place buffer='..buf1, true)) + eq("--- Signs ---\n", nvim('exec', 'sign place buffer='..buf2, true)) end) end) end) |