diff options
author | James McCoy <jamessan@jamessan.com> | 2023-03-02 18:36:33 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-03-02 18:36:33 +0000 |
commit | db1887ce40452daea8c4e8734ec64202e5f24130 (patch) | |
tree | 9be108d6c9d69cc65a29664026a9e8a5dee44a3e | |
parent | 440d4cb55b84fd4b188630abc4a1312598649af0 (diff) | |
download | vim-git-db1887ce40452daea8c4e8734ec64202e5f24130.tar.gz |
patch 9.0.1372: test for 'toolbariconsize' may failv9.0.1372
Problem: Test for 'toolbariconsize' may fail.
Solution: Only test 'toolbariconsize' when it is supported. (James McCoy,
closes #12095)
-rw-r--r-- | src/testdir/test_options.vim | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_options.vim b/src/testdir/test_options.vim index 7bd42164d..b3b90d142 100644 --- a/src/testdir/test_options.vim +++ b/src/testdir/test_options.vim @@ -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') diff --git a/src/version.c b/src/version.c index 56739e763..bef7cf09c 100644 --- 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, |