Justin M. Keyes
7e1c959861
test: Eliminate expect_err
...
Eliminate `expect_err` in favor of `pcall_err` + `eq` or `matches`.
2019-09-06 17:19:07 -07:00
Justin M. Keyes
c9f3174075
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.
2018-05-09 23:18:38 +02:00
ZyX
023631463c
functests: Fix linter error
2017-12-16 16:14:53 +03:00
ZyX
fb07391ce4
window: Fix matchaddpos() and enhance error reporting
2017-12-15 11:38:34 +03:00
ZyX
c8e63a8db8
eval: Move remaining get_tv_string* functions to eval/typval.c
2017-03-29 10:08:05 +03:00
ZyX
54bd2e8b73
eval: Make setmatches() return -1 in case of some failures
2017-03-29 10:07:43 +03:00
ZyX
e18a578308
*: Move some dictionary functions to typval.h and use char*
...
Also fixes buffer reusage in setmatches() and complete().
2017-03-29 10:07:42 +03:00