diff options
author | Lewis Russell <lewis6991@gmail.com> | 2023-07-17 14:27:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-17 14:27:21 +0100 |
commit | 881d17a11393da75a27c072faa3fd45f510175fe (patch) | |
tree | b1bc798c4a36de45f3ee0058ffdd86782638214d /test/old | |
parent | 98b22867c33a45aaaf057afbeda8acb0216494e3 (diff) | |
download | rneovim-881d17a11393da75a27c072faa3fd45f510175fe.tar.gz rneovim-881d17a11393da75a27c072faa3fd45f510175fe.tar.bz2 rneovim-881d17a11393da75a27c072faa3fd45f510175fe.zip |
feat(options)!: remove compatible behaviours for vim 5.0 and earlier
Diffstat (limited to 'test/old')
-rw-r--r-- | test/old/testdir/test_backspace_opt.vim | 18 | ||||
-rw-r--r-- | test/old/testdir/test_options.vim | 28 |
2 files changed, 23 insertions, 23 deletions
diff --git a/test/old/testdir/test_backspace_opt.vim b/test/old/testdir/test_backspace_opt.vim index 59e94d2898..78c51cb874 100644 --- a/test/old/testdir/test_backspace_opt.vim +++ b/test/old/testdir/test_backspace_opt.vim @@ -36,15 +36,15 @@ func Test_backspace_option() " NOTE: Vim doesn't check following error... "call assert_fails('set backspace-=ghi', 'E474:') - " Check backwards compatibility with version 5.4 and earlier - set backspace=0 - call assert_equal('0', &backspace) - set backspace=1 - call assert_equal('1', &backspace) - set backspace=2 - call assert_equal('2', &backspace) - set backspace=3 - call assert_equal('3', &backspace) + " " Check backwards compatibility with version 5.4 and earlier + " set backspace=0 + " call assert_equal('0', &backspace) + " set backspace=1 + " call assert_equal('1', &backspace) + " set backspace=2 + " call assert_equal('2', &backspace) + " set backspace=3 + " call assert_equal('3', &backspace) call assert_fails('set backspace=4', 'E474:') call assert_fails('set backspace=10', 'E474:') diff --git a/test/old/testdir/test_options.vim b/test/old/testdir/test_options.vim index 6390b9c37a..aabb11a76a 100644 --- a/test/old/testdir/test_options.vim +++ b/test/old/testdir/test_options.vim @@ -22,20 +22,20 @@ func Test_whichwrap() set whichwrap=h,h,h call assert_equal('h', &whichwrap) - " For compatibility with Vim 3.0 and before, number values are also - " supported for 'whichwrap' - set whichwrap=1 - call assert_equal('b', &whichwrap) - set whichwrap=2 - call assert_equal('s', &whichwrap) - set whichwrap=4 - call assert_equal('h,l', &whichwrap) - set whichwrap=8 - call assert_equal('<,>', &whichwrap) - set whichwrap=16 - call assert_equal('[,]', &whichwrap) - set whichwrap=31 - call assert_equal('b,s,h,l,<,>,[,]', &whichwrap) + " " For compatibility with Vim 3.0 and before, number values are also + " " supported for 'whichwrap' + " set whichwrap=1 + " call assert_equal('b', &whichwrap) + " set whichwrap=2 + " call assert_equal('s', &whichwrap) + " set whichwrap=4 + " call assert_equal('h,l', &whichwrap) + " set whichwrap=8 + " call assert_equal('<,>', &whichwrap) + " set whichwrap=16 + " call assert_equal('[,]', &whichwrap) + " set whichwrap=31 + " call assert_equal('b,s,h,l,<,>,[,]', &whichwrap) set whichwrap& endfunc |