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:
@@ -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
|
||||
|
Reference in New Issue
Block a user