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:
parent
2d877599ee
commit
6ecf58b0d7
@ -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
|
||||
|
||||
|
@ -749,6 +749,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3823,
|
||||
/**/
|
||||
3822,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user