patch 9.0.1698: Test_map_restore_sid fails in GUI

7 views
Skip to first unread message

Christian Brabandt

unread,
Aug 12, 2023, 3:00:10 PM8/12/23
to vim...@googlegroups.com
patch 9.0.1698: Test_map_restore_sid fails in GUI

Commit: https://github.com/vim/vim/commit/7fe108990423535fa7cb804deae49d64831e25a9
Author: zeertzjq <zeer...@outlook.com>
Date: Sat Aug 12 16:31:27 2023 +0800

patch 9.0.1698: Test_map_restore_sid fails in GUI

Problem: Test_map_restore_sid fails in GUI
Solution: Feed an unsimplified Ctrl-B

closes: #12770

Signed-off-by: Christian Brabandt <c...@256bit.org>
Co-authored-by: zeertzjq <zeer...@outlook.com>

diff --git a/src/testdir/test_map_functions.vim b/src/testdir/test_map_functions.vim
index 4c62f89ff..c65636815 100644
--- a/src/testdir/test_map_functions.vim
+++ b/src/testdir/test_map_functions.vim
@@ -511,7 +511,7 @@ func Test_map_restore_sid()
new
source Xmapscript
inoremap <buffer> <C-B> <Cmd>call RestoreMap()<CR>
- call feedkeys("i\<CR>\<C-B>\<CR>", 'xt')
+ call feedkeys("i\<CR>\<*C-B>\<CR>", 'xt')
call assert_equal(['', '42', '42'], getline(1, '$'))

bwipe!
diff --git a/src/version.c b/src/version.c
index 49beb19ef..16ebc614f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -695,6 +695,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1698,
/**/
1697,
/**/
Reply all
Reply to author
Forward
0 new messages