changeset 27247:0667f71ec335 v8.2.4152

patch 8.2.4152: block insert with double wide character fails Commit: https://github.com/vim/vim/commit/fc6ccebea668c49e9e617e0657421b6a8ed9df1e Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 20 12:22:35 2022 +0000 patch 8.2.4152: block insert with double wide character fails Problem: Block insert with double wide character fails. Solution: Adjust the expected output.
author Bram Moolenaar <Bram@vim.org>
date Thu, 20 Jan 2022 13:30:04 +0100
parents baf8b7b6403e
children c69bec136e5f
files src/testdir/test_utf8.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_utf8.vim
+++ b/src/testdir/test_utf8.vim
@@ -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
 
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4152,
+/**/
     4151,
 /**/
     4150,