1
0
forked from aniani/vim

patch 8.2.0383: wrong feature check causes test not to be run

Problem:    Wrong feature check causes test not to be run.
Solution:   Use CheckFunction instead of CheckFeature. (Ozaki Kiichi,
            closes #5781)
This commit is contained in:
Bram Moolenaar
2020-03-15 14:53:35 +01:00
parent 353c351bd2
commit 4f32f9c90e
2 changed files with 3 additions and 1 deletions

View File

@@ -1775,7 +1775,7 @@ endfunc
func Test_job_start_in_timer() func Test_job_start_in_timer()
CheckFeature timers CheckFeature timers
CheckFeature reltimefloat CheckFunction reltimefloat
func OutCb(chan, msg) func OutCb(chan, msg)
let g:val += 1 let g:val += 1

View File

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