diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-09 23:01:02 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-09 23:01:02 +0100 |
commit | 1e1153600c0377472d62cc553173fe555ddcf5a7 (patch) | |
tree | 6b048ad52538ede86b31960d3c2f963411925c73 /src/testdir/test49.vim | |
parent | c46af534102c65b43912311d67f55f5049e5ef7a (diff) |
patch 8.1.0711: test files still use function!v8.1.0711
Problem: Test files still use function!.
Solution: Remove the exclamation mark. Fix overwriting a function.
Diffstat (limited to 'src/testdir/test49.vim')
-rw-r--r-- | src/testdir/test49.vim | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/testdir/test49.vim b/src/testdir/test49.vim index f50062e7b2..0f825a255b 100644 --- a/src/testdir/test49.vim +++ b/src/testdir/test49.vim @@ -1,6 +1,6 @@ " Vim script language tests " Author: Servatius Brandt <Servatius.Brandt@fujitsu-siemens.com> -" Last Change: 2016 Feb 07 +" Last Change: 2019 Jan 09 "------------------------------------------------------------------------------- " Test environment {{{1 @@ -318,7 +318,7 @@ let ExtraVimCount = 0 let ExtraVimBase = expand("<sfile>") let ExtraVimTestEnv = "" " -function! ExtraVim(...) +function ExtraVim(...) " Count how often this function is called. let g:ExtraVimCount = g:ExtraVimCount + 1 @@ -500,7 +500,7 @@ endfunction " an ExtraVim script as passed by ExtraVim() in ExtraVimBegin. " " EXTRA_VIM_START - do not change or remove this line. -function! ExtraVimThrowpoint() +function ExtraVimThrowpoint() if !exists("g:ExtraVimBegin") Xout "ExtraVimThrowpoint() used outside ExtraVim() script." return v:throwpoint @@ -530,7 +530,7 @@ endfunction " as a script file, use ExecAsScript below. " " EXTRA_VIM_START - do not change or remove this line. -function! MakeScript(funcname, ...) +function MakeScript(funcname, ...) let script = tempname() execute "redir! >" . script execute "function" a:funcname @@ -568,7 +568,7 @@ endfunction " location specified in the function. " " EXTRA_VIM_START - do not change or remove this line. -function! ExecAsScript(funcname) +function ExecAsScript(funcname) " Make a script from the function passed as argument. let script = MakeScript(a:funcname) @@ -8548,7 +8548,7 @@ endfunction " Remove the autocommands for the events specified as arguments in all used " autogroups. -function! Delete_autocommands(...) +function Delete_autocommands(...) let augfile = tempname() while 1 try |