diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-05-07 03:24:01 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-05-09 23:18:38 +0200 |
commit | c9f3174075a7168f10fabf806891ef59ee3b13d4 (patch) | |
tree | 67adda606732fdcfa746852a685c183bc11037a1 /test/functional/api/server_requests_spec.lua | |
parent | 33bfea31b0cd630f6494cf91d06c807f03d29a85 (diff) | |
download | rneovim-c9f3174075a7168f10fabf806891ef59ee3b13d4.tar.gz rneovim-c9f3174075a7168f10fabf806891ef59ee3b13d4.tar.bz2 rneovim-c9f3174075a7168f10fabf806891ef59ee3b13d4.zip |
API: return non-generic VimL errors
- Return VimL errors instead of generic errors for:
- nvim_call_function
- nvim_call_dict_function
- Fix tests which were silently broken before this change.
This violates #6150 where we agreed not to translate API errors. But
that can be fixed later.
Diffstat (limited to 'test/functional/api/server_requests_spec.lua')
-rw-r--r-- | test/functional/api/server_requests_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/api/server_requests_spec.lua b/test/functional/api/server_requests_spec.lua index 18229b54ff..f00ce6992f 100644 --- a/test/functional/api/server_requests_spec.lua +++ b/test/functional/api/server_requests_spec.lua @@ -250,7 +250,7 @@ describe('server -> client', function() end) after_each(function() - funcs.jobstop(jobid) + pcall(funcs.jobstop, jobid) end) if helpers.pending_win32(pending) then return end |