patch 8.1.0711: test files still use function!
Problem: Test files still use function!.
Solution: Remove the exclamation mark. Fix overwriting a function.
diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim
index b839bbb..4582d1a 100644
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
@@ -2,7 +2,7 @@
source shared.vim
-func! s:cleanup_buffers() abort
+func s:cleanup_buffers() abort
for bnr in range(1, bufnr('$'))
if bufloaded(bnr) && bufnr('%') != bnr
execute 'bd! ' . bnr
@@ -1343,7 +1343,7 @@
endfunc
let g:setline_handled = v:false
-func! SetLineOne()
+func SetLineOne()
if !g:setline_handled
call setline(1, "(x)")
let g:setline_handled = v:true