0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

patch 8.2.5032: Python 3 test fails without the GUI

Problem:    Python 3 test fails without the GUI.
Solution:   Check the balloon_eval feature is available.
This commit is contained in:
Bram Moolenaar
2022-05-27 20:23:20 +01:00
parent 76381a5b4f
commit ddf5312929
2 changed files with 5 additions and 1 deletions

View File

@@ -381,11 +381,13 @@ func Test_python3_opt_reset_local_to_global()
\ ['errorformat', '%f:%l:%m', '%s-%l-%m', ''], \ ['errorformat', '%f:%l:%m', '%s-%l-%m', ''],
\ ['grepprg', 'ggprg', 'lgprg', ''], \ ['grepprg', 'ggprg', 'lgprg', ''],
\ ['makeprg', 'gmprg', 'lmprg', ''], \ ['makeprg', 'gmprg', 'lmprg', ''],
\ ['balloonexpr', 'gbexpr', 'lbexpr', ''],
\ ['cryptmethod', 'blowfish2', 'zip', ''], \ ['cryptmethod', 'blowfish2', 'zip', ''],
\ ['lispwords', 'abc', 'xyz', ''], \ ['lispwords', 'abc', 'xyz', ''],
\ ['makeencoding', 'utf-8', 'latin1', ''], \ ['makeencoding', 'utf-8', 'latin1', ''],
\ ['undolevels', 100, 200, -123456]] \ ['undolevels', 100, 200, -123456]]
if has('balloon_eval')
call add(bopts, ['balloonexpr', 'gbexpr', 'lbexpr', ''])
endif
" Set the global and buffer-local option values and then clear the " Set the global and buffer-local option values and then clear the
" buffer-local option value. " buffer-local option value.

View File

@@ -734,6 +734,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 */
/**/
5032,
/**/ /**/
5031, 5031,
/**/ /**/