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_charsearch.vim b/src/testdir/test_charsearch.vim
index 8b313b5..17a49e0 100644
--- a/src/testdir/test_charsearch.vim
+++ b/src/testdir/test_charsearch.vim
@@ -1,5 +1,5 @@
-function! Test_charsearch()
+func Test_charsearch()
enew!
call append(0, ['Xabcdefghijkemnopqretuvwxyz',
\ 'Yabcdefghijkemnopqretuvwxyz',
@@ -29,10 +29,10 @@
normal! ;;p
call assert_equal('ZabcdeZfghijkZZemnokqretkZvwxyz', getline(3))
enew!
-endfunction
+endfunc
" Test for t,f,F,T movement commands and 'cpo-;' setting
-function! Test_search_cmds()
+func Test_search_cmds()
enew!
call append(0, ["aaa two three four", " zzz", "yyy ",
\ "bbb yee yoo four", "ccc two three four",
@@ -59,4 +59,4 @@
call assert_equal('ccc', getline(5))
call assert_equal('ddd yee y', getline(6))
enew!
-endfunction
+endfunc