Skip to content

Commit a0107bd

Browse files
committed
patch 8.0.0401: test fails with missing balloon feature
Problem: Test fails with missing balloon feature. Solution: Add check for balloon feature.
1 parent 358f6b0 commit a0107bd

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/testdir/test_functions.vim

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,8 @@ func Test_getbufvar()
468468
endfunc
469469

470470
func Test_balloon_show()
471-
" This won't do anything but must not crash either.
472-
call balloon_show('hi!')
471+
if has('balloon_eval')
472+
" This won't do anything but must not crash either.
473+
call balloon_show('hi!')
474+
endif
473475
endfunc

src/version.c

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

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
401,
767769
/**/
768770
400,
769771
/**/

0 commit comments

Comments
 (0)