0
0
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:
Bram Moolenaar
2020-04-01 22:11:01 +02:00
parent a8c1770469
commit e69f6d044c
10 changed files with 80 additions and 11 deletions

View File

@@ -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)
{