vim-patch:8.1.1214: old style tests #9948

Problem:    Old style tests.
Solution:   Move tests from test14 to new style test files. (Yegappan
            Lakshmanan, closes vim/vim#4308)
c6b37db1ba
This commit is contained in:
Jan Edmund Lazo
2019-04-27 15:45:53 -04:00
committed by Justin M. Keyes
parent 1039e0621d
commit f86f0a8bc7
8 changed files with 203 additions and 123 deletions

View File

@@ -411,3 +411,27 @@ func Test_Visual_paragraph_textobject()
bwipe!
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