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()
|
||||
CheckScreendump
|
||||
CheckFeature balloon_eval
|
||||
CheckFeature balloon_eval_term
|
||||
|
||||
let lines =<< trim END
|
||||
call setline(1, range(1, 20))
|
||||
|
@@ -1466,6 +1466,7 @@ let s:test_colors = [
|
||||
\]
|
||||
|
||||
func Test_terminal_ansicolors_global()
|
||||
CheckFeature termguicolors
|
||||
if !exists('*term_getansicolors')
|
||||
throw 'Skipped: term_getansicolors() not supported'
|
||||
endif
|
||||
@@ -1480,6 +1481,7 @@ func Test_terminal_ansicolors_global()
|
||||
endfunc
|
||||
|
||||
func Test_terminal_ansicolors_func()
|
||||
CheckFeature termguicolors
|
||||
if !exists('*term_getansicolors')
|
||||
throw 'Skipped: term_getansicolors() not supported'
|
||||
endif
|
||||
|
@@ -757,6 +757,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2063,
|
||||
/**/
|
||||
2062,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user