forked from aniani/vim
patch 8.2.4152: block insert with double wide character fails
Problem: Block insert with double wide character fails. Solution: Adjust the expected output.
This commit is contained in:
@@ -8,7 +8,7 @@ func Test_visual_block_insert()
|
|||||||
new
|
new
|
||||||
call setline(1, ["aaa", "あああ", "bbb"])
|
call setline(1, ["aaa", "あああ", "bbb"])
|
||||||
exe ":norm! gg0l\<C-V>jjIx\<Esc>"
|
exe ":norm! gg0l\<C-V>jjIx\<Esc>"
|
||||||
call assert_equal(['axaa', 'xあああ', 'bxbb'], getline(1, '$'))
|
call assert_equal(['axaa', ' xあああ', 'bxbb'], getline(1, '$'))
|
||||||
bwipeout!
|
bwipeout!
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
4152,
|
||||||
/**/
|
/**/
|
||||||
4151,
|
4151,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user