]> granicus.if.org Git - vim/commitdiff
patch 8.2.4152: block insert with double wide character fails v8.2.4152
authorBram Moolenaar <Bram@vim.org>
Thu, 20 Jan 2022 12:22:35 +0000 (12:22 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 20 Jan 2022 12:22:35 +0000 (12:22 +0000)
Problem:    Block insert with double wide character fails.
Solution:   Adjust the expected output.

src/testdir/test_utf8.vim
src/version.c

index 0210ce63c56d22eb82873579732514862cf632b9..862e73b9abe5c3a9a862ee3a3aa8009321402d7a 100644 (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
 
index 227eaa958e2bbbaa370f22d738bf46e25478ceef..ef0b3b30c728e03ad6b9698a2bb7e6c27d9b1a04 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4152,
 /**/
     4151,
 /**/