0
0
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:
Bram Moolenaar
2019-09-21 22:57:06 +02:00
parent b20b9e14dd
commit 1e82a784ac
3 changed files with 5 additions and 1 deletions

View File

@@ -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))

View File

@@ -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

View File

@@ -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,
/**/ /**/