mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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().
This commit is contained in:
@@ -896,6 +896,18 @@ f_test_null_string(typval_T *argvars UNUSED, typval_T *rettv)
|
||||
rettv->vval.v_string = NULL;
|
||||
}
|
||||
|
||||
void
|
||||
f_test_unknown(typval_T *argvars UNUSED, typval_T *rettv)
|
||||
{
|
||||
rettv->v_type = VAR_UNKNOWN;
|
||||
}
|
||||
|
||||
void
|
||||
f_test_void(typval_T *argvars UNUSED, typval_T *rettv)
|
||||
{
|
||||
rettv->v_type = VAR_VOID;
|
||||
}
|
||||
|
||||
#ifdef FEAT_GUI
|
||||
void
|
||||
f_test_scrollbar(typval_T *argvars, typval_T *rettv UNUSED)
|
||||
|
Reference in New Issue
Block a user