test: update tests to work with 'hidden'

This commit is contained in:
Gregory Anders
2021-08-17 21:30:58 -06:00
parent d417e67e59
commit d8ab8cccd0
25 changed files with 48 additions and 32 deletions

View File

@@ -608,7 +608,7 @@ func Test_window_prevwin()
" reset
q
call delete('tmp.txt')
set hidden&vim autoread&vim
set nohidden autoread&vim
delfunc Fun_RenewFile
endfunc