aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_options.vim
diff options
context:
space:
mode:
authorckelsel <ckelsel@hotmail.com>2017-09-24 09:16:59 +0800
committerckelsel <ckelsel@hotmail.com>2017-09-24 09:16:59 +0800
commit90fc9039ddcadc61d4236bdd2d638d690081e04d (patch)
treeecf08d95a7c9459fa5a79202d85e6666c3f5ee88 /src/nvim/testdir/test_options.vim
parent6258e33b114dc4386e608a5cf3a48742757441f7 (diff)
parent4bb0e95abbf0a61d383d5261019a2667706c9d39 (diff)
downloadrneovim-90fc9039ddcadc61d4236bdd2d638d690081e04d.tar.gz
rneovim-90fc9039ddcadc61d4236bdd2d638d690081e04d.tar.bz2
rneovim-90fc9039ddcadc61d4236bdd2d638d690081e04d.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/nvim/testdir/test_options.vim')
-rw-r--r--src/nvim/testdir/test_options.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_options.vim b/src/nvim/testdir/test_options.vim
index 5ee0919e18..2ffe63787b 100644
--- a/src/nvim/testdir/test_options.vim
+++ b/src/nvim/testdir/test_options.vim
@@ -13,6 +13,12 @@ function! Test_whichwrap()
set whichwrap+=h,l
call assert_equal('b,s,h,l', &whichwrap)
+ set whichwrap=h,h
+ call assert_equal('h', &whichwrap)
+
+ set whichwrap=h,h,h
+ call assert_equal('h', &whichwrap)
+
set whichwrap&
endfunction