Skip to content

Commit

Permalink
patch 8.1.2063: some tests fail when +balloon_eval_term is missing
Browse files Browse the repository at this point in the history
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 vim#4962)
  • Loading branch information
brammool committed Sep 21, 2019
1 parent b20b9e1 commit 1e82a78
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/testdir/test_popupwin.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
2 changes: 2 additions & 0 deletions src/testdir/test_terminal.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2063,
/**/
2062,
/**/
Expand Down

0 comments on commit 1e82a78

Please sign in to comment.