aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-02-28 07:11:16 +0800
committerGitHub <noreply@github.com>2025-02-27 23:11:16 +0000
commit3eee6f9d631b6c220564ef792c542964ed5e1cb9 (patch)
treea95b343f6acdadb9fecf691c4f5d931a43aca225
parentdf0328521f17766df9e1a8970bf5adee39b78192 (diff)
downloadrneovim-3eee6f9d631b6c220564ef792c542964ed5e1cb9.tar.gz
rneovim-3eee6f9d631b6c220564ef792c542964ed5e1cb9.tar.bz2
rneovim-3eee6f9d631b6c220564ef792c542964ed5e1cb9.zip
vim-patch:9.1.1156: tests: No test for what patch 9.1.1152 fixes (#32668)
Problem: No test for what patch 9.1.1152 fixes. Solution: Add a test (zeertzjq). closes: vim/vim#16742 https://github.com/vim/vim/commit/4be1ab80befd78a80a05c2e66aeff58113832f46
-rw-r--r--test/old/testdir/test_registers.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/old/testdir/test_registers.vim b/test/old/testdir/test_registers.vim
index 0befdbd1fe..2557f2bcbd 100644
--- a/test/old/testdir/test_registers.vim
+++ b/test/old/testdir/test_registers.vim
@@ -266,6 +266,20 @@ func Test_zz_recording_with_select_mode_utf8_gui()
call Run_test_recording_with_select_mode_utf8()
endfunc
+func Test_recording_append_utf8()
+ new
+
+ let keys = "cc哦洛固四最倒倀\<Esc>0"
+ call feedkeys($'qr{keys}q', 'xt')
+ call assert_equal(keys, @r)
+
+ let morekeys = "A…foobar\<Esc>0"
+ call feedkeys($'qR{morekeys}q', 'xt')
+ call assert_equal(keys .. morekeys, @r)
+
+ bwipe!
+endfunc
+
func Test_recording_with_super_mod()
if "\<D-j>"[-1:] == '>'
throw 'Skipped: <D- modifier not supported'