1
0
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:
Bram Moolenaar
2022-01-20 12:22:35 +00:00
parent 57df9e8a9f
commit fc6ccebea6
2 changed files with 3 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ func Test_visual_block_insert()
new
call setline(1, ["aaa", "あああ", "bbb"])
exe ":norm! gg0l\<C-V>jjIx\<Esc>"
call assert_equal(['axaa', 'xあああ', 'bxbb'], getline(1, '$'))
call assert_equal(['axaa', ' xあああ', 'bxbb'], getline(1, '$'))
bwipeout!
endfunc

View File

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