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/commands_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/commands_spec.lua')
-rw-r--r-- | test/functional/lua/commands_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/lua/commands_spec.lua b/test/functional/lua/commands_spec.lua index 96eaa7991b..cbc3aee557 100644 --- a/test/functional/lua/commands_spec.lua +++ b/test/functional/lua/commands_spec.lua @@ -47,7 +47,7 @@ describe(':lua command', function() pcall_err(command, 'lua ()')) eq([[Vim(lua):E5108: Error executing lua [string ":lua"]:1: TEST]], exc_exec('lua error("TEST")')) - eq([[Vim(lua):E5108: Error executing lua [string ":lua"]:1: Invalid buffer id]], + eq([[Vim(lua):E5108: Error executing lua [string ":lua"]:1: Invalid buffer id: -10]], exc_exec('lua vim.api.nvim_buf_set_lines(-10, 1, 1, false, {"TEST"})')) eq({''}, curbufmeths.get_lines(0, 100, false)) end) |