Skip to content

Commit 1e82a78

Browse files
committed
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)
1 parent b20b9e1 commit 1e82a78

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/testdir/test_popupwin.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@ endfunc
11371137

11381138
func Test_popup_beval()
11391139
CheckScreendump
1140-
CheckFeature balloon_eval
1140+
CheckFeature balloon_eval_term
11411141

11421142
let lines =<< trim END
11431143
call setline(1, range(1, 20))

src/testdir/test_terminal.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,6 +1466,7 @@ let s:test_colors = [
14661466
\]
14671467

14681468
func Test_terminal_ansicolors_global()
1469+
CheckFeature termguicolors
14691470
if !exists('*term_getansicolors')
14701471
throw 'Skipped: term_getansicolors() not supported'
14711472
endif
@@ -1480,6 +1481,7 @@ func Test_terminal_ansicolors_global()
14801481
endfunc
14811482

14821483
func Test_terminal_ansicolors_func()
1484+
CheckFeature termguicolors
14831485
if !exists('*term_getansicolors')
14841486
throw 'Skipped: term_getansicolors() not supported'
14851487
endif

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,8 @@ static char *(features[]) =
757757

758758
static int included_patches[] =
759759
{ /* Add new patch number below this line */
760+
/**/
761+
2063,
760762
/**/
761763
2062,
762764
/**/

0 commit comments

Comments
 (0)