patch 8.2.0197: some Ex commands not sufficiently tested
Problem: Some Ex commands not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5565)
diff --git a/src/testdir/test_options.vim b/src/testdir/test_options.vim
index 0fcc495..f8d09fe 100644
--- a/src/testdir/test_options.vim
+++ b/src/testdir/test_options.vim
@@ -659,4 +659,17 @@
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
+
" vim: shiftwidth=2 sts=2 expandtab