summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_autocmd.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-19 16:09:46 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-19 16:09:46 +0100
commit4520d440c59034452d1450b27fcd56825c090687 (patch)
treed2391f9fa0bc3da5960768bca6519de0c251feb6 /src/testdir/test_autocmd.vim
parentee85df37634dfb0c40ae5de0b4f246aef460b392 (diff)
patch 8.0.0485: not all windows commands are testedv8.0.0485
Problem: Not all windows commands are tested. Solution: Add more tests for windows commands. (Dominique Pelle, closes #1575) Run test_autocmd separately, it interferes with other tests. Fix tests that depended on side effects.
Diffstat (limited to 'src/testdir/test_autocmd.vim')
-rw-r--r--src/testdir/test_autocmd.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim
index 566a07c6f5..df6a868b29 100644
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
@@ -1,5 +1,7 @@
" Tests for autocommands
+set belloff=all
+
function! s:cleanup_buffers() abort
for bnr in range(1, bufnr('$'))
if bufloaded(bnr) && bufnr('%') != bnr
@@ -318,6 +320,8 @@ func Test_three_windows()
call assert_equal('Xanother', expand('%'))
au!
+ enew
+ bwipe! Xtestje1
call delete('Xtestje1')
call delete('Xtestje2')
call delete('Xtestje3')