Skip to content

Commit 4be1ab8

Browse files
zeertzjqchrisbra
authored andcommitted
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 <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent fce1fa5 commit 4be1ab8

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

src/testdir/test_registers.vim

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,20 @@ func Test_zz_recording_with_select_mode_utf8_gui()
264264
call Run_test_recording_with_select_mode_utf8()
265265
endfunc
266266

267+
func Test_recording_append_utf8()
268+
new
269+
270+
let keys = "cc哦洛固四最倒倀\<Esc>0"
271+
call feedkeys($'qr{keys}q', 'xt')
272+
call assert_equal(keys, @r)
273+
274+
let morekeys = "A…foobar\<Esc>0"
275+
call feedkeys($'qR{morekeys}q', 'xt')
276+
call assert_equal(keys .. morekeys, @r)
277+
278+
bwipe!
279+
endfunc
280+
267281
func Test_recording_with_super_mod()
268282
if "\<D-j>"[-1:] == '>'
269283
throw 'Skipped: <D- modifier not supported'

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,8 @@ static char *(features[]) =
704704

705705
static int included_patches[] =
706706
{ /* Add new patch number below this line */
707+
/**/
708+
1156,
707709
/**/
708710
1155,
709711
/**/

0 commit comments

Comments
 (0)