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

7fe1089904
This commit is contained in:
zeertzjq
2023-08-13 07:10:43 +08:00
committed by GitHub
parent 7542286d6a
commit d39361f5e0

View File

@ -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!