Mercurial > vim
comparison src/evalfunc.c @ 19483:0d3dcb4476ba v8.2.0299
patch 8.2.0299: Vim9: ISN_STORE with argument not tested
Commit: https://github.com/vim/vim/commit/8ed04587d3cd53e29be20fde9c36e619ea7da4dc
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 22 19:07:28 2020 +0100
patch 8.2.0299: Vim9: ISN_STORE with argument not tested
Problem: Vim9: ISN_STORE with argument not tested. Some cases in tv2bool()
not tested.
Solution: Add tests. Add test_unknown() and test_void().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 22 Feb 2020 19:15:04 +0100 |
parents | fdfe44ac6a1a |
children | 22f0dda71638 |
comparison
equal
deleted
inserted
replaced
19482:5bb16fb9c9d1 | 19483:0d3dcb4476ba |
---|---|
819 {"test_scrollbar", 3, 3, FEARG_2, &t_void, f_test_scrollbar}, | 819 {"test_scrollbar", 3, 3, FEARG_2, &t_void, f_test_scrollbar}, |
820 #endif | 820 #endif |
821 {"test_setmouse", 2, 2, 0, &t_void, f_test_setmouse}, | 821 {"test_setmouse", 2, 2, 0, &t_void, f_test_setmouse}, |
822 {"test_settime", 1, 1, FEARG_1, &t_void, f_test_settime}, | 822 {"test_settime", 1, 1, FEARG_1, &t_void, f_test_settime}, |
823 {"test_srand_seed", 0, 1, FEARG_1, &t_void, f_test_srand_seed}, | 823 {"test_srand_seed", 0, 1, FEARG_1, &t_void, f_test_srand_seed}, |
824 {"test_unknown", 0, 0, 0, &t_any, f_test_unknown}, | |
825 {"test_void", 0, 0, 0, &t_any, f_test_void}, | |
824 #ifdef FEAT_TIMERS | 826 #ifdef FEAT_TIMERS |
825 {"timer_info", 0, 1, FEARG_1, &t_list_dict_any, f_timer_info}, | 827 {"timer_info", 0, 1, FEARG_1, &t_list_dict_any, f_timer_info}, |
826 {"timer_pause", 2, 2, FEARG_1, &t_void, f_timer_pause}, | 828 {"timer_pause", 2, 2, FEARG_1, &t_void, f_timer_pause}, |
827 {"timer_start", 2, 3, FEARG_1, &t_number, f_timer_start}, | 829 {"timer_start", 2, 3, FEARG_1, &t_number, f_timer_start}, |
828 {"timer_stop", 1, 1, FEARG_1, &t_void, f_timer_stop}, | 830 {"timer_stop", 1, 1, FEARG_1, &t_void, f_timer_stop}, |