aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_options.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-19 22:27:36 +0800
committerGitHub <noreply@github.com>2022-07-19 22:27:36 +0800
commitb154d951e6c01919278bf77a4079396c2df471f4 (patch)
tree0cbf132a7edc4dc0b3a5bab76408f35c89536af1 /src/nvim/testdir/test_options.vim
parent9e15bdde3ba8c84177d6d912eef3c0e056a76bb9 (diff)
parent358f9b776b48e854fdb714c76b24c5929bbd8544 (diff)
downloadrneovim-b154d951e6c01919278bf77a4079396c2df471f4.tar.gz
rneovim-b154d951e6c01919278bf77a4079396c2df471f4.tar.bz2
rneovim-b154d951e6c01919278bf77a4079396c2df471f4.zip
Merge pull request #19434 from zeertzjq/vim-8.2.0509
vim-patch:8.2.{0509,2632}: startup tests
Diffstat (limited to 'src/nvim/testdir/test_options.vim')
-rw-r--r--src/nvim/testdir/test_options.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_options.vim b/src/nvim/testdir/test_options.vim
index 1f003041e6..ccf9c5c35e 100644
--- a/src/nvim/testdir/test_options.vim
+++ b/src/nvim/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
@@ -801,6 +802,14 @@ 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
+
" Test for setting option values using v:false and v:true
func Test_opt_boolean()
set number&