patch 9.0.1698: Test_map_restore_sid fails in GUI

Commit: 
https://github.com/vim/vim/commit/7fe108990423535fa7cb804deae49d64831e25a9
Author: zeertzjq <[email protected]>
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 <[email protected]>
    Co-authored-by: zeertzjq <[email protected]>

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,
 /**/

-- 
-- 
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 on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1qUtqG-00GYZq-NG%40256bit.org.

Raspunde prin e-mail lui