mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 09:44:31 +00:00 
			
		
		
		
	vim-patch:8.2.4802: test is not cleaned up
Problem: Test is not cleaned up. Solution: Make test clean up after itself. Avoid NUL. (closes vim/vim#10233)7851c69a12Adapt test_autocmd_vimgrep() to Nvim. (cherry picked from commit5e9afca1c1)
This commit is contained in:
		
				
					committed by
					
						
						github-actions[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							1a84384487
						
					
				
				
					commit
					0298652c30
				
			@@ -2713,6 +2713,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.
 | 
			
		||||
@@ -2748,12 +2750,12 @@ func Test_autocmd_closing_cmdwin()
 | 
			
		||||
endfunc
 | 
			
		||||
 | 
			
		||||
func Test_autocmd_vimgrep()
 | 
			
		||||
  %bwipe!
 | 
			
		||||
  augroup aucmd_vimgrep
 | 
			
		||||
    au QuickfixCmdPre,BufNew,BufReadCmd * sb
 | 
			
		||||
    au QuickfixCmdPre,BufNew,BufReadCmd * q9 | ||||