mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
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:
@ -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!
|
||||
|
Reference in New Issue
Block a user