commit d39361f5e014072eb3ade1999d80bdd9dd0f0e98
parent 7542286d6ad53f8250cd3575e9f3acde5f501c78
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun, 13 Aug 2023 07:10:43 +0800
vim-patch:9.0.1698: Test_map_restore_sid fails in GUI (#24682)
Problem: Test_map_restore_sid fails in GUI
Solution: Feed an unsimplified Ctrl-B
closes: vim/vim#12770
https://github.com/vim/vim/commit/7fe108990423535fa7cb804deae49d64831e25a9
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/old/testdir/test_maparg.vim b/test/old/testdir/test_maparg.vim
@@ -339,7 +339,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!