mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
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:

committed by
Justin M. Keyes

parent
1039e0621d
commit
f86f0a8bc7
@@ -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
|
||||
|
Reference in New Issue
Block a user