changeset 32082:775d7d500959 v9.0.1372

patch 9.0.1372: test for 'toolbariconsize' may fail Commit: https://github.com/vim/vim/commit/db1887ce40452daea8c4e8734ec64202e5f24130 Author: James McCoy <jamessan@jamessan.com> 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)
author Bram Moolenaar <Bram@vim.org>
date Thu, 02 Mar 2023 19:45:03 +0100
parents 52c0d579cc82
children f3e0377c99a3
files src/testdir/test_options.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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')
--- 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,