mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.0493: Vim9: some error messages not tested
Problem: Vim9: some error messages not tested. Solution: Add more tests. Fix uncovered bugs.
This commit is contained in:
@@ -882,6 +882,13 @@ f_test_null_list(typval_T *argvars UNUSED, typval_T *rettv)
|
||||
rettv_list_set(rettv, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
f_test_null_function(typval_T *argvars UNUSED, typval_T *rettv)
|
||||
{
|
||||
rettv->v_type = VAR_FUNC;
|
||||
rettv->vval.v_string = NULL;
|
||||
}
|
||||
|
||||
void
|
||||
f_test_null_partial(typval_T *argvars UNUSED, typval_T *rettv)
|
||||
{
|
||||
|
Reference in New Issue
Block a user