1
0
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:
Bram Moolenaar
2020-04-11 17:09:31 +02:00
parent d1caa941d8
commit 004a6781b3
11 changed files with 311 additions and 95 deletions

View File

@@ -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