]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1698: Test_map_restore_sid fails in GUI v9.0.1698
authorzeertzjq <zeertzjq@outlook.com>
Sat, 12 Aug 2023 08:31:27 +0000 (16:31 +0800)
committerChristian Brabandt <cb@256bit.org>
Sat, 12 Aug 2023 18:44:21 +0000 (20:44 +0200)
Problem: Test_map_restore_sid fails in GUI
Solution: Feed an unsimplified Ctrl-B

closes: #12770

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
src/testdir/test_map_functions.vim
src/version.c

index 4c62f89ff5cf5f14d85e517c7ede9e29d1b0c35a..c6563681574db272eb1ee3d24f7716aeef22e3d5 100644 (file)
@@ -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!
index 49beb19eff7f649fc329739b9d435e6d9de2e351..16ebc614fc7e9d14cbc83810c28cc47b6a3a8d4d 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1698,
 /**/
     1697,
 /**/