aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_options.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-09 04:40:15 +0800
committerGitHub <noreply@github.com>2022-02-09 04:40:15 +0800
commitbcea7329975f05b5ac18868e29c0960eda2cb20f (patch)
treee7b0ab8c3656c1a86bf397c09e8dafd99c634c08 /src/nvim/testdir/test_options.vim
parent46c93b43046eae6600832c563169e154a3ecb1be (diff)
parentf8b40694b1139d01a7b6b1e5923b18198a504bf8 (diff)
downloadrneovim-bcea7329975f05b5ac18868e29c0960eda2cb20f.tar.gz
rneovim-bcea7329975f05b5ac18868e29c0960eda2cb20f.tar.bz2
rneovim-bcea7329975f05b5ac18868e29c0960eda2cb20f.zip
Merge pull request #17328 from zeertzjq/vim-8.2.0197
vim-patch:8.2.0197: some Ex commands not sufficiently tested
Diffstat (limited to 'src/nvim/testdir/test_options.vim')
-rw-r--r--src/nvim/testdir/test_options.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_options.vim b/src/nvim/testdir/test_options.vim
index a5adb5ff16..7d1fed3b94 100644
--- a/src/nvim/testdir/test_options.vim
+++ b/src/nvim/testdir/test_options.vim
@@ -656,6 +656,19 @@ func Test_buftype()
close!
endfunc
+" Test for the 'shellquote' option
+func Test_shellquote()
+ CheckUnix
+ set shellquote=#
+ set verbose=20
+ redir => v
+ silent! !echo Hello
+ redir END
+ set verbose&
+ set shellquote&
+ call assert_match(': "#echo Hello#"', v)
+endfunc
+
" Test for setting option values using v:false and v:true
func Test_opt_boolean()
set number&