forked from aniani/vim
patch 8.2.0540: regexp and other code not tested
Problem: Regexp and other code not tested. Solution: Add more tests. (Yegappan Lakshmanan, closes #5904)
This commit is contained in:
@@ -346,4 +346,15 @@ func Test_yank_paste_small_del_reg()
|
||||
set virtualedit=
|
||||
endfunc
|
||||
|
||||
" Test for delete that breaks a tab into spaces
|
||||
func Test_delete_break_tab()
|
||||
new
|
||||
call setline(1, "one\ttwo")
|
||||
set virtualedit=all
|
||||
normal v3ld
|
||||
call assert_equal(' two', getline(1))
|
||||
set virtualedit&
|
||||
close!
|
||||
endfunc
|
||||
|
||||
" vim: shiftwidth=2 sts=2 expandtab
|
||||
|
||||
Reference in New Issue
Block a user