Skip to content

Commit eaa49e4

Browse files
committed
patch 8.1.1679: test using SwapExists autocommand file may fail
Problem: Test using SwapExists autocommand file may fail. Solution: Remove the SwapExists autocommand.
1 parent a901a37 commit eaa49e4

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/testdir/test_window_cmd.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ function Test_window_cmd_wincmd_gf()
4242
function s:swap_exists()
4343
let v:swapchoice = s:swap_choice
4444
endfunc
45+
" Remove the catch-all that runtest.vim adds
46+
au! SwapExists
4547
augroup test_window_cmd_wincmd_gf
4648
autocmd!
4749
exec "autocmd SwapExists " . fname . " call s:swap_exists()"

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,8 @@ static char *(features[]) =
777777

778778
static int included_patches[] =
779779
{ /* Add new patch number below this line */
780+
/**/
781+
1679,
780782
/**/
781783
1678,
782784
/**/

0 commit comments

Comments
 (0)