patch 9.0.1372: test for 'toolbariconsize' may fail

Problem:    Test for 'toolbariconsize' may fail.
Solution:   Only test 'toolbariconsize' when it is supported. (James McCoy,
            closes #12095)
This commit is contained in:
James McCoy
2023-03-02 18:36:33 +00:00
committed by Bram Moolenaar
parent 440d4cb55b
commit db1887ce40
2 changed files with 4 additions and 0 deletions

View File

@ -1642,6 +1642,8 @@ func Test_string_option_revert_on_failure()
endif
if exists('+toolbar')
call add(optlist, ['toolbar', 'text', 'a123'])
endif
if exists('+toolbariconsize')
call add(optlist, ['toolbariconsize', 'medium', 'a123'])
endif
if exists('+ttymouse') && !has('gui')

View File

@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1372,
/**/
1371,
/**/