aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-28 23:48:37 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-04-28 23:48:44 +0800
commitdfb2808d1a318bc7c328330a2c6e77201165204f (patch)
tree041691af3c586bfc94eceff12b066035a3705cfb
parente9fa6f10a0e99e888d9aecf09808ae07ff7d4f02 (diff)
downloadrneovim-dfb2808d1a318bc7c328330a2c6e77201165204f.tar.gz
rneovim-dfb2808d1a318bc7c328330a2c6e77201165204f.tar.bz2
rneovim-dfb2808d1a318bc7c328330a2c6e77201165204f.zip
vim-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 vim/vim#12095) https://github.com/vim/vim/commit/db1887ce40452daea8c4e8734ec64202e5f24130 Co-authored-by: James McCoy <jamessan@jamessan.com>
-rw-r--r--test/old/testdir/test_options.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/old/testdir/test_options.vim b/test/old/testdir/test_options.vim
index 769aa1c35f..be794cb845 100644
--- a/test/old/testdir/test_options.vim
+++ b/test/old/testdir/test_options.vim
@@ -1482,6 +1482,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')