Bram Moolenaar
unread,Apr 21, 2022, 6:14:56 AM4/21/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim...@googlegroups.com
Patch 8.2.4802
Problem: Test is not cleaned up.
Solution: Make test clean up after itself. Avoid NUL. (closes #10233)
Files: src/testdir/test_autocmd.vim
*** ../vim-8.2.4801/src/testdir/test_autocmd.vim 2022-04-19 16:24:08.603559710 +0100
--- src/testdir/test_autocmd.vim 2022-04-21 10:54:55.778120790 +0100
***************
*** 3004,3009 ****
--- 3004,3011 ----
augroup aucmd_win_test
au!
augroup END
+ new
+ pclose
endfunc
" Fuzzer found some strange combination that caused a crash.
***************
*** 3037,3048 ****
endfunc
func Test_autocmd_vimgrep()
- %bwipe!
augroup aucmd_vimgrep
au QuickfixCmdPre,BufNew,BufReadCmd * sb
! au QuickfixCmdPre,BufNew,BufReadCmd * q9