summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_options.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_options.vim')
-rw-r--r--src/testdir/test_options.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/testdir/test_options.vim b/src/testdir/test_options.vim
index ef3ae1ad41..e1b11e933e 100644
--- a/src/testdir/test_options.vim
+++ b/src/testdir/test_options.vim
@@ -677,6 +677,15 @@ func Test_buftype()
bwipe!
endfunc
+" Test for the 'shell' option
+func Test_shell()
+ CheckUnix
+ let save_shell = &shell
+ set shell=
+ call assert_fails('shell', 'E91:')
+ let &shell = save_shell
+endfunc
+
" Test for the 'shellquote' option
func Test_shellquote()
CheckUnix