Mercurial > vim
diff src/testdir/test_charsearch.vim @ 20848:d3fa0d29fa9a v8.2.0976
patch 8.2.0976: some 'cpoptions' not tested
Commit: https://github.com/vim/vim/commit/df7df59d85e7e56a796912dc865488a75d3f0e53
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 14 13:50:55 2020 +0200
patch 8.2.0976: some 'cpoptions' not tested
Problem: Some 'cpoptions' not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/6253)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Jun 2020 14:00:03 +0200 |
parents | a4bd28e2cf1d |
children | 1baf86830e44 |
line wrap: on
line diff
--- a/src/testdir/test_charsearch.vim +++ b/src/testdir/test_charsearch.vim @@ -43,36 +43,6 @@ func Test_charsearch() enew! endfunc -" Test for t,f,F,T movement commands and 'cpo-;' setting -func Test_search_cmds() - enew! - call append(0, ["aaa two three four", " zzz", "yyy ", - \ "bbb yee yoo four", "ccc two three four", - \ "ddd yee yoo four"]) - set cpo-=; - 1 - normal! 0tt;D - 2 - normal! 0fz;D - 3 - normal! $Fy;D - 4 - normal! $Ty;D - set cpo+=; - 5 - normal! 0tt;;D - 6 - normal! $Ty;;D - - call assert_equal('aaa two', getline(1)) - call assert_equal(' z', getline(2)) - call assert_equal('y', getline(3)) - call assert_equal('bbb y', getline(4)) - call assert_equal('ccc', getline(5)) - call assert_equal('ddd yee y', getline(6)) - enew! -endfunc - " Test for character search in virtual edit mode with <Tab> func Test_csearch_virtualedit() new