mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.1.2063: some tests fail when +balloon_eval_term is missing
Problem: Some tests fail when +balloon_eval_term is missing but _balloon_eval is present. (Dominique Pelle) Solution: Check the right feature in the test. (closes #4962)
This commit is contained in:
@@ -1137,7 +1137,7 @@ endfunc
|
|||||||
|
|
||||||
func Test_popup_beval()
|
func Test_popup_beval()
|
||||||
CheckScreendump
|
CheckScreendump
|
||||||
CheckFeature balloon_eval
|
CheckFeature balloon_eval_term
|
||||||
|
|
||||||
let lines =<< trim END
|
let lines =<< trim END
|
||||||
call setline(1, range(1, 20))
|
call setline(1, range(1, 20))
|
||||||
|
@@ -1466,6 +1466,7 @@ let s:test_colors = [
|
|||||||
\]
|
\]
|
||||||
|
|
||||||
func Test_terminal_ansicolors_global()
|
func Test_terminal_ansicolors_global()
|
||||||
|
CheckFeature termguicolors
|
||||||
if !exists('*term_getansicolors')
|
if !exists('*term_getansicolors')
|
||||||
throw 'Skipped: term_getansicolors() not supported'
|
throw 'Skipped: term_getansicolors() not supported'
|
||||||
endif
|
endif
|
||||||
@@ -1480,6 +1481,7 @@ func Test_terminal_ansicolors_global()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_terminal_ansicolors_func()
|
func Test_terminal_ansicolors_func()
|
||||||
|
CheckFeature termguicolors
|
||||||
if !exists('*term_getansicolors')
|
if !exists('*term_getansicolors')
|
||||||
throw 'Skipped: term_getansicolors() not supported'
|
throw 'Skipped: term_getansicolors() not supported'
|
||||||
endif
|
endif
|
||||||
|
@@ -757,6 +757,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 */
|
||||||
|
/**/
|
||||||
|
2063,
|
||||||
/**/
|
/**/
|
||||||
2062,
|
2062,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user