diff src/testing.c @ 19874:f92435f0f449 v8.2.0493

patch 8.2.0493: Vim9: some error messages not tested Commit: https://github.com/vim/vim/commit/e69f6d044c420d41dced9ba96a3b90f25788e39a Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 1 22:11:01 2020 +0200 patch 8.2.0493: Vim9: some error messages not tested Problem: Vim9: some error messages not tested. Solution: Add more tests. Fix uncovered bugs.
author Bram Moolenaar <Bram@vim.org>
date Wed, 01 Apr 2020 22:15:04 +0200
parents 0d3dcb4476ba
children 1f42c49c3d29
line wrap: on
line diff
--- a/src/testing.c
+++ b/src/testing.c
@@ -883,6 +883,13 @@ f_test_null_list(typval_T *argvars UNUSE
 }
 
     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;