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

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220421101451.35ECB1C40CA%40moolenaar.net.

Raspunde prin e-mail lui