0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.1.1214: old style tests

Problem:    Old style tests.
Solution:   Move tests from test14 to new style test files. (Yegappan
            Lakshmanan, closes #4308)
This commit is contained in:
Bram Moolenaar
2019-04-27 18:00:34 +02:00
parent e13a3901ca
commit c6b37db1ba
11 changed files with 206 additions and 131 deletions

View File

@@ -404,3 +404,27 @@ func Test_curswant_not_changed()
bwipe!
au! InsertLeave
endfunc
" Tests for "vaBiB", end could be wrong.
func Test_Visual_Block()
new
a
- Bug in "vPPPP" on this text:
{
cmd;
{
cmd;\t/* <-- Start cursor here */
{
}
}
}
.
normal gg
call search('Start cursor here')
normal vaBiBD
call assert_equal(['- Bug in "vPPPP" on this text:',
\ "\t{",
\ "\t}"], getline(1, '$'))
close!
endfunc