summaryrefslogtreecommitdiff
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 f5e0e9b14..f1118948d 100644
--- a/src/testdir/test_options.vim
+++ b/src/testdir/test_options.vim
@@ -1,6 +1,7 @@
" Test for options
source check.vim
+source view_util.vim
func Test_whichwrap()
set whichwrap=b,s
@@ -707,4 +708,12 @@ func Test_rightleftcmd()
set rightleft&
endfunc
+" Test for the "debug" option
+func Test_debug_option()
+ set debug=beep
+ exe "normal \<C-c>"
+ call assert_equal('Beep!', Screenline(&lines))
+ set debug&
+endfunc
+
" vim: shiftwidth=2 sts=2 expandtab