Skip to content

Commit

Permalink
patch 8.2.4149: test override not restored, autocommand left behind
Browse files Browse the repository at this point in the history
Problem:    Test override not restored, autocommand left behind.
Solution:   Correct restoring test override.  Delete autocommand afterwards.
  • Loading branch information
brammool committed Jan 20, 2022
1 parent f61c89d commit ca34db3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/testdir/test_autocmd.vim
Original file line number Diff line number Diff line change
Expand Up @@ -2038,7 +2038,7 @@ func Test_TextChangedI_with_setline()
call assert_equal('', getline(1))
call assert_equal('', getline(2))

call test_override('starting', 0)
call test_override('char_avail', 0)
bwipe!
endfunc

Expand Down
1 change: 1 addition & 0 deletions src/testdir/test_mapping.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1453,6 +1453,7 @@ func Test_map_script_cmd_survives_unmap()

nunmap <F3>
unlet b:result
autocmd! CmdlineEnter
endfunc

" Test for using <script> with a map to remap characters in rhs
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,8 @@ static char *(features[]) =

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

0 comments on commit ca34db3

Please sign in to comment.