summaryrefslogtreecommitdiffstats
path: root/src/evalfunc.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-22 19:07:28 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-22 19:07:28 +0100
commit8ed04587d3cd53e29be20fde9c36e619ea7da4dc (patch)
tree6a66f8036d567d984190c19f5372eff719ff6477 /src/evalfunc.c
parent0c6ceaf90389b41545d803458c4813013811c756 (diff)
patch 8.2.0299: Vim9: ISN_STORE with argument not testedv8.2.0299
Problem: Vim9: ISN_STORE with argument not tested. Some cases in tv2bool() not tested. Solution: Add tests. Add test_unknown() and test_void().
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r--src/evalfunc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c
index f1a06caaac..cad7a969f9 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -821,6 +821,8 @@ static funcentry_T global_functions[] =
{"test_setmouse", 2, 2, 0, &t_void, f_test_setmouse},
{"test_settime", 1, 1, FEARG_1, &t_void, f_test_settime},
{"test_srand_seed", 0, 1, FEARG_1, &t_void, f_test_srand_seed},
+ {"test_unknown", 0, 0, 0, &t_any, f_test_unknown},
+ {"test_void", 0, 0, 0, &t_any, f_test_void},
#ifdef FEAT_TIMERS
{"timer_info", 0, 1, FEARG_1, &t_list_dict_any, f_timer_info},
{"timer_pause", 2, 2, FEARG_1, &t_void, f_timer_pause},