mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 16:12:48 +00:00
API: deprecate nvim_command_output
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user