diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-02-02 15:32:13 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-02-02 15:32:13 +0100 |
commit | ea3db914c0fa35797ad73f6d5bb3a4288d690065 (patch) | |
tree | d733386620b647bdd10756f7955228ea9ce3ed4c /src/testdir/test_options.vim | |
parent | d98c0b63abd7b0e61a383669474abe96044615af (diff) | |
download | vim-git-ea3db914c0fa35797ad73f6d5bb3a4288d690065.tar.gz |
patch 8.2.0197: some Ex commands not sufficiently testedv8.2.0197
Problem: Some Ex commands not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5565)
Diffstat (limited to 'src/testdir/test_options.vim')
-rw-r--r-- | src/testdir/test_options.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/testdir/test_options.vim b/src/testdir/test_options.vim index 0fcc4955f..f8d09fefc 100644 --- a/src/testdir/test_options.vim +++ b/src/testdir/test_options.vim @@ -659,4 +659,17 @@ 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 + " vim: shiftwidth=2 sts=2 expandtab |