API: include invalid buffer/window/tabpage in error message (#11712)

This commit is contained in:
Daniel Hahler
2020-01-14 09:21:10 +01:00
committed by GitHub
parent 9231684986
commit 3d1531aee5
7 changed files with 15 additions and 11 deletions

View File

@@ -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)