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_partial.vim b/src/testdir/test_partial.vim
index 3e968da..b180510 100644
--- a/src/testdir/test_partial.vim
+++ b/src/testdir/test_partial.vim
@@ -114,9 +114,9 @@
call OuterCall()
endfunc
-function! s:cache_clear() dict
+func s:cache_clear() dict
return self.name
-endfunction
+endfunc
func Test_script_function_in_dict()
let s:obj = {'name': 'foo'}
@@ -136,10 +136,10 @@
call assert_equal('bar', B())
endfunc
-function! s:cache_arg(arg) dict
+func s:cache_arg(arg) dict
let s:result = self.name . '/' . a:arg
return s:result
-endfunction
+endfunc
func Test_script_function_in_dict_arg()
let s:obj = {'name': 'foo'}