0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.3823: test for visual replace is in wrong function

Problem:    Test for visual replace is in wrong function.
Solution:   Move it to another function.
This commit is contained in:
Bram Moolenaar 2021-12-16 10:05:41 +00:00
parent 2d877599ee
commit 6ecf58b0d7
2 changed files with 7 additions and 4 deletions

View File

@ -234,10 +234,6 @@ func Test_virtual_replace()
call assert_equal("\txaaaa", getline(1))
set softtabstop&
call setline(1, "xã̳x")
normal gg0lvrb
call assert_equal("xbx", getline(1))
enew!
set noai bs&vim
if exists('save_t_kD')
@ -669,6 +665,11 @@ func Test_characterwise_visual_mode()
normal v$rx
call assert_equal(['x'], getline(1, '$'))
" replace a character with composing characters
call setline(1, "xã̳x")
normal gg0lvrb
call assert_equal("xbx", getline(1))
bwipe!
endfunc

View File

@ -749,6 +749,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3823,
/**/
3822,
/**/