mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 05:48:17 +00:00
API: include invalid buffer/window/tabpage in error message (#11712)
This commit is contained in:
@@ -44,7 +44,7 @@ describe('eval-API', function()
|
||||
eq('Vim(call):E5555: API call: Wrong type for argument 1, expecting Buffer', err)
|
||||
|
||||
err = exc_exec('call nvim_buf_line_count(17)')
|
||||
eq('Vim(call):E5555: API call: Invalid buffer id', err)
|
||||
eq('Vim(call):E5555: API call: Invalid buffer id: 17', err)
|
||||
end)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user