Skip to content

Commit

Permalink
patch 9.0.1698: Test_map_restore_sid fails in GUI
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
zeertzjq authored and chrisbra committed Aug 12, 2023
1 parent 73b8209 commit 7fe1089
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/testdir/test_map_functions.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1698,
/**/
1697,
/**/
Expand Down

0 comments on commit 7fe1089

Please sign in to comment.