diff options
author | Daniel Hahler <git@thequod.de> | 2020-01-14 09:21:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-14 09:21:10 +0100 |
commit | 3d1531aee5d92375b69098de8f8c788ea407b066 (patch) | |
tree | 3b208e3ab6d243c9f1ed50828ff556fa7e79d530 /test/functional/lua/api_spec.lua | |
parent | 92316849863bb2661ee5b4bb284f56163fed27ad (diff) | |
download | rneovim-3d1531aee5d92375b69098de8f8c788ea407b066.tar.gz rneovim-3d1531aee5d92375b69098de8f8c788ea407b066.tar.bz2 rneovim-3d1531aee5d92375b69098de8f8c788ea407b066.zip |
API: include invalid buffer/window/tabpage in error message (#11712)
Diffstat (limited to 'test/functional/lua/api_spec.lua')
-rw-r--r-- | test/functional/lua/api_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/lua/api_spec.lua b/test/functional/lua/api_spec.lua index 23167d3ed9..896554f7a3 100644 --- a/test/functional/lua/api_spec.lua +++ b/test/functional/lua/api_spec.lua @@ -39,7 +39,7 @@ describe('luaeval(vim.api.…)', function() eq({false, 'Argument "pos" must be a [row, col] array'}, funcs.luaeval('{pcall(vim.api.nvim_win_set_cursor, 0, {1, 2, 3})}')) -- Used to produce a memory leak due to a bug in nvim_win_set_cursor - eq({false, 'Invalid window id'}, + eq({false, 'Invalid window id: -1'}, funcs.luaeval('{pcall(vim.api.nvim_win_set_cursor, -1, {1, 2, 3})}')) end) |