summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-04-21 11:14:01 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-21 11:14:01 +0100
commit7851c69a120ea6ce8c122dd7198adbe5aec83ea5 (patch)
tree1ed81501d6227c56df18502b66f332a7bf63ae0b
parent3fd7480cd25f1e939fc2362e0644d497bcc81b71 (diff)
patch 8.2.4802: test is not cleaned upv8.2.4802
Problem: Test is not cleaned up. Solution: Make test clean up after itself. Avoid NUL. (closes #10233)
-rw-r--r--src/testdir/test_autocmd.vim6
-rw-r--r--src/version.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim
index fd3631791a..c4ba10fcb5 100644
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
@@ -3004,6 +3004,8 @@ func Test_autocmd_quit_psearch()
augroup aucmd_win_test
au!
augroup END
+ new
+ pclose
endfunc
" Fuzzer found some strange combination that caused a crash.
@@ -3037,12 +3039,10 @@ func Test_autocmd_closing_cmdwin()
endfunc
func Test_autocmd_vimgrep()
- %bwipe!
augroup aucmd_vimgrep
au QuickfixCmdPre,BufNew,BufReadCmd * sb
- au QuickfixCmdPre,BufNew,BufReadCmd * q9
+ au QuickfixCmdPre,BufNew,BufReadCmd * q9
augroup END
- %bwipe!
call assert_fails('lv ?a? foo', 'E926:')
augroup aucmd_vimgrep
diff --git a/src/version.c b/src/version.c
index ded3a619b9..5ed7e76edd 100644
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4802,
+/**/
4801,
/**/
4800,