patch 9.1.1156: tests: No test for what patch 9.1.1152 fixes
Commit:
https://github.com/vim/vim/commit/4be1ab80befd78a80a05c2e66aeff58113832f46
Author: zeertzjq <[email protected]>
Date: Thu Feb 27 19:22:26 2025 +0100
patch 9.1.1156: tests: No test for what patch 9.1.1152 fixes
Problem: No test for what patch 9.1.1152 fixes.
Solution: Add a test (zeertzjq).
closes: #16742
Signed-off-by: zeertzjq <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/testdir/test_registers.vim b/src/testdir/test_registers.vim
index 252445377..43f80be29 100644
--- a/src/testdir/test_registers.vim
+++ b/src/testdir/test_registers.vim
@@ -264,6 +264,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'
diff --git a/src/version.c b/src/version.c
index 9c3f70b8b..ef3ca2e38 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1156,
/**/
1155,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1tnie7-00GbdL-E5%40256bit.org.