diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-11-04 19:51:54 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2022-11-04 20:54:50 +0800 |
| commit | 2b86ca81b400b1311379f3258cc6c38be94fcf36 (patch) | |
| tree | 9d40995de6dd74217d93475c89348ad9cf789cc8 /src/nvim/testdir/test_normal.vim | |
| parent | 32a2c556ab3697111f01c9ef50447ec5d78070f7 (diff) | |
| download | rneovim-2b86ca81b400b1311379f3258cc6c38be94fcf36.tar.gz rneovim-2b86ca81b400b1311379f3258cc6c38be94fcf36.tar.bz2 rneovim-2b86ca81b400b1311379f3258cc6c38be94fcf36.zip | |
vim-patch:8.2.0976: some 'cpoptions' not tested
Problem: Some 'cpoptions' not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6253)
https://github.com/vim/vim/commit/df7df59d85e7e56a796912dc865488a75d3f0e53
Diffstat (limited to 'src/nvim/testdir/test_normal.vim')
| -rw-r--r-- | src/nvim/testdir/test_normal.vim | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/nvim/testdir/test_normal.vim b/src/nvim/testdir/test_normal.vim index 3c9a7a3986..04faeca455 100644 --- a/src/nvim/testdir/test_normal.vim +++ b/src/nvim/testdir/test_normal.vim @@ -2644,7 +2644,6 @@ endfunc " Test for cw cW ce func Test_normal39_cw() " Test for cw and cW on whitespace - " and cpo+=w setting new set tw=0 call append(0, 'here are some words') @@ -2652,14 +2651,6 @@ func Test_normal39_cw() call assert_equal('hereZZZare some words', getline('.')) norm! 1gg0elcWYYY call assert_equal('hereZZZareYYYsome words', getline('.')) - " Nvim: no "w" flag in 'cpoptions'. - " set cpo+=w - " call setline(1, 'here are some words') - " norm! 1gg0elcwZZZ - " call assert_equal('hereZZZ are some words', getline('.')) - " norm! 1gg2elcWYYY - " call assert_equal('hereZZZ areYYY some words', getline('.')) - set cpo-=w norm! 2gg0cwfoo call assert_equal('foo', getline('.')) |