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:
parent
6edbbd8114
commit
e165f63598
@ -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
|
||||
|
@ -779,6 +779,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1004,
|
||||
/**/
|
||||
1003,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user