From: Bram Moolenaar Date: Sat, 13 Jul 2019 16:08:59 +0000 (+0200) Subject: patch 8.1.1679: test using SwapExists autocommand file may fail X-Git-Tag: v8.1.1679 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eaa49e40d7e7f84deef14424c84ef1da0796fa58;p=vim patch 8.1.1679: test using SwapExists autocommand file may fail Problem: Test using SwapExists autocommand file may fail. Solution: Remove the SwapExists autocommand. --- diff --git a/src/testdir/test_window_cmd.vim b/src/testdir/test_window_cmd.vim index b3eecd705..4585cd321 100644 --- a/src/testdir/test_window_cmd.vim +++ b/src/testdir/test_window_cmd.vim @@ -42,6 +42,8 @@ function Test_window_cmd_wincmd_gf() function s:swap_exists() let v:swapchoice = s:swap_choice endfunc + " Remove the catch-all that runtest.vim adds + au! SwapExists augroup test_window_cmd_wincmd_gf autocmd! exec "autocmd SwapExists " . fname . " call s:swap_exists()" diff --git a/src/version.c b/src/version.c index e48dd6034..3263f696e 100644 --- a/src/version.c +++ b/src/version.c @@ -777,6 +777,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1679, /**/ 1678, /**/