diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-05-26 18:11:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-26 18:11:49 +0200 |
commit | aabda31d5491398783ba70b2e24c58e68454db28 (patch) | |
tree | d7e098a649e5a13a2ff118d827a1a32078db60a1 /test/functional/eval/api_functions_spec.lua | |
parent | 2b4c0181ba5a064b13f4e96e364124245e6f494c (diff) | |
parent | 8ed54bbec3b07d16658547d6bf38a1e804800341 (diff) | |
download | rneovim-aabda31d5491398783ba70b2e24c58e68454db28.tar.gz rneovim-aabda31d5491398783ba70b2e24c58e68454db28.tar.bz2 rneovim-aabda31d5491398783ba70b2e24c58e68454db28.zip |
Merge pull request #9547 from bfredl/rpc_multiline_err
messages: use proper multiline errors for rpcrequest and API wrappers
Diffstat (limited to 'test/functional/eval/api_functions_spec.lua')
-rw-r--r-- | test/functional/eval/api_functions_spec.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/eval/api_functions_spec.lua b/test/functional/eval/api_functions_spec.lua index 40d06b599f..0e3a88802d 100644 --- a/test/functional/eval/api_functions_spec.lua +++ b/test/functional/eval/api_functions_spec.lua @@ -34,16 +34,16 @@ describe('eval-API', function() eq('Vim(call):E119: Not enough arguments for function: nvim_set_option', err) err = exc_exec('call nvim_buf_set_lines(1, 0, -1, [], ["list"])') - eq('Vim(call):Wrong type for argument 4, expecting Boolean', err) + eq('Vim(call):E5555: API call: Wrong type for argument 4, expecting Boolean', err) err = exc_exec('call nvim_buf_set_lines(0, 0, -1, v:true, "string")') - eq('Vim(call):Wrong type for argument 5, expecting ArrayOf(String)', err) + eq('Vim(call):E5555: API call: Wrong type for argument 5, expecting ArrayOf(String)', err) err = exc_exec('call nvim_buf_get_number("0")') - eq('Vim(call):Wrong type for argument 1, expecting Buffer', err) + 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):Invalid buffer id', err) + eq('Vim(call):E5555: API call: Invalid buffer id', err) end) |