Patch 8.2.4802

5 views
Skip to first unread message

Bram Moolenaar

unread,
Apr 21, 2022, 6:14:56 AM4/21/22
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

Reply all
Reply to author
Forward
0 new messages