# HG changeset patch # User Bram Moolenaar # Date 1677782703 -3600 # Node ID 775d7d5009599e94f5f0e57502212b5c80bf3560 # Parent 52c0d579cc8286471cb5ea6cc12e58848fa1c844 patch 9.0.1372: test for 'toolbariconsize' may fail Commit: https://github.com/vim/vim/commit/db1887ce40452daea8c4e8734ec64202e5f24130 Author: James McCoy Date: Thu Mar 2 18:36:33 2023 +0000 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) diff --git a/src/testdir/test_options.vim b/src/testdir/test_options.vim --- a/src/testdir/test_options.vim +++ b/src/testdir/test_options.vim @@ -1642,6 +1642,8 @@ func Test_string_option_revert_on_failur 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') diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1372, +/**/ 1371, /**/ 1370,