diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-10-26 22:00:00 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-10-26 22:00:00 +0200 |
commit | ce11de87e26e1420703242f8e07b4fd69c4032ba (patch) | |
tree | 9c530ed1f58efdaea571722cb7d6d1620792aa27 /src/testdir/test_tabpage.vim | |
parent | 15993ce9210e8b8d4bc11e1d640f6447b18d3e6c (diff) | |
download | vim-git-ce11de87e26e1420703242f8e07b4fd69c4032ba.tar.gz |
patch 8.0.1222: test functions interfere with each otherv8.0.1222
Problem: Test functions interfere with each other.
Solution: Cleanup tab pages, windows and buffers. Reset option.
Diffstat (limited to 'src/testdir/test_tabpage.vim')
-rw-r--r-- | src/testdir/test_tabpage.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testdir/test_tabpage.vim b/src/testdir/test_tabpage.vim index 239b1b965..95e3c135f 100644 --- a/src/testdir/test_tabpage.vim +++ b/src/testdir/test_tabpage.vim @@ -475,6 +475,7 @@ endfunc func Test_close_on_quitpre() " This once caused a crash + edit Xtest new only set bufhidden=delete @@ -489,7 +490,7 @@ func Test_close_on_quitpre() while tabpagenr('$') > 1 bwipe! endwhile - 1b + buf Xtest endfunc " vim: shiftwidth=2 sts=2 expandtab |