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/test_autocmd.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/test_autocmd.vim')
-rw-r--r-- | src/testdir/test_autocmd.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim index b839bbb474..4582d1a989 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 @@ func Test_ChangedP() 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 |