aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2022-02-13 19:02:06 +0000
committerSean Dewar <seandewar@users.noreply.github.com>2022-02-14 17:29:49 +0000
commit2b75ac7aa9cfc6f8b49b4399c02bada45af450d4 (patch)
treeb1df32c6d99d015b15b732f998fc630e0beaa4ba
parentafbed8cb75af714a636128c4ad7fb4be6edf7727 (diff)
downloadrneovim-2b75ac7aa9cfc6f8b49b4399c02bada45af450d4.tar.gz
rneovim-2b75ac7aa9cfc6f8b49b4399c02bada45af450d4.tar.bz2
rneovim-2b75ac7aa9cfc6f8b49b4399c02bada45af450d4.zip
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. https://github.com/vim/vim/commit/fc6ccebea668c49e9e617e0657421b6a8ed9df1e
-rw-r--r--src/nvim/testdir/test_utf8.vim2
-rw-r--r--test/functional/legacy/utf8_spec.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_utf8.vim b/src/nvim/testdir/test_utf8.vim
index 36776d5a64..9b010a5dbc 100644
--- a/src/nvim/testdir/test_utf8.vim
+++ b/src/nvim/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
diff --git a/test/functional/legacy/utf8_spec.lua b/test/functional/legacy/utf8_spec.lua
index 8b5fc02d11..67a4bec4c5 100644
--- a/test/functional/legacy/utf8_spec.lua
+++ b/test/functional/legacy/utf8_spec.lua
@@ -28,7 +28,7 @@ describe('utf8', function()
expect([[
start:
axaa
- xあああ
+ xあああ
bxbb]])
end)