vim-patch:8.1.0711: test files still use function!

Problem:    Test files still use function!.
Solution:   Remove the exclamation mark.  Fix overwriting a function.
1e1153600c

Some of the changes were already applied previously.
This commit is contained in:
zeertzjq
2022-02-07 05:34:20 +08:00
parent e6e9ffb345
commit fe621b4ac0
19 changed files with 129 additions and 129 deletions

View File

@@ -25,7 +25,7 @@ com! -nargs=1 Xout call Xout(<args>)
" in the variable argument list. This function is useful if similar tests are
" to be made for a ":return" from a function call or a ":finish" in a script
" file.
function! MakeScript(funcname, ...)
func MakeScript(funcname, ...)
let script = tempname()
execute "redir! >" . script
execute "function" a:funcname
@@ -1224,11 +1224,11 @@ func Test_type()
" call assert_true(empty(v:none))
func ChangeYourMind()
try
return v:true
finally
return 'something else'
endtry
try
return v:true
finally
return 'something else'
endtry
endfunc
call ChangeYourMind()