1
0
forked from aniani/vim

patch 8.1.2375: no suffucient testing for registers

Problem:    No suffucient testing for registers.
Solution:   Add more test cases. (Yegappan Lakshmanan, closes #5296)
            Fix that "p" on last virtual column of tab inserts spaces.
This commit is contained in:
Bram Moolenaar
2019-12-01 18:16:18 +01:00
parent 269e4bd9d2
commit 6f1f0ca3ed
5 changed files with 118 additions and 10 deletions

View File

@@ -428,3 +428,18 @@ func Test_Visual_Block()
close!
endfunc
" Test for 'p'ut in visual block mode
func Test_visual_block_put()
enew
call append(0, ['One', 'Two', 'Three'])
normal gg
yank
call feedkeys("jl\<C-V>ljp", 'xt')
call assert_equal(['One', 'T', 'Tee', 'One', ''], getline(1, '$'))
enew!
endfunc
" vim: shiftwidth=2 sts=2 expandtab