diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-28 23:48:37 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-04-28 23:48:44 +0800 |
commit | dfb2808d1a318bc7c328330a2c6e77201165204f (patch) | |
tree | 041691af3c586bfc94eceff12b066035a3705cfb | |
parent | e9fa6f10a0e99e888d9aecf09808ae07ff7d4f02 (diff) | |
download | rneovim-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.vim | 2 |
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') |