0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.1.1004: function "luaV_setref()" not covered with tests

Problem:    Function "luaV_setref()" not covered with tests.
Solution:   Add a test. (Dominique Pelle, closes #4089)
This commit is contained in:
Bram Moolenaar 2019-03-10 09:48:59 +01:00
parent 6edbbd8114
commit e165f63598
2 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,11 @@ if !has('lua')
finish
endif
func TearDown()
" Run garbage collection after each test to exercise luaV_setref().
call test_garbagecollect_now()
endfunc
" Check that switching to another buffer does not trigger ml_get error.
func Test_command_new_no_ml_get_error()
new

View File

@ -779,6 +779,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1004,
/**/
1003,
/**/