diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-01 22:11:01 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-01 22:11:01 +0200 |
commit | e69f6d044c420d41dced9ba96a3b90f25788e39a (patch) | |
tree | 93ea671c8ff74e5ba89808a4561f36cdfc5f4b5c /src/testing.c | |
parent | a8c1770469504ae66c80bbdb03b6b31641215848 (diff) | |
download | vim-git-e69f6d044c420d41dced9ba96a3b90f25788e39a.tar.gz |
patch 8.2.0493: Vim9: some error messages not testedv8.2.0493
Problem: Vim9: some error messages not tested.
Solution: Add more tests. Fix uncovered bugs.
Diffstat (limited to 'src/testing.c')
-rw-r--r-- | src/testing.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testing.c b/src/testing.c index 8a64ce85e..81e17622d 100644 --- a/src/testing.c +++ b/src/testing.c @@ -883,6 +883,13 @@ f_test_null_list(typval_T *argvars UNUSED, typval_T *rettv) } 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) { rettv->v_type = VAR_PARTIAL; |