mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
API/nvim_command_output: handle :echon capture (#8265)
ref https://github.com/neovim/python-client/pull/290
This commit is contained in:
@@ -73,6 +73,8 @@ describe('api', function()
|
||||
it('captures command output', function()
|
||||
eq('this is\nspinal tap',
|
||||
nvim('command_output', [[echo "this is\nspinal tap"]]))
|
||||
eq('no line ending!',
|
||||
nvim('command_output', [[echon "no line ending!"]]))
|
||||
end)
|
||||
|
||||
it('captures empty command output', function()
|
||||
|
Reference in New Issue
Block a user