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:
committed by
Bram Moolenaar
parent
440d4cb55b
commit
db1887ce40
@ -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')
|
||||
|
||||
@ -695,6 +695,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1372,
|
||||
/**/
|
||||
1371,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user