diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-11-04 22:36:53 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-11-04 22:36:53 +0100 |
commit | 5842a748be8039fd6d267f5557fe391c6c95399d (patch) | |
tree | da91f132039cddc987034b22e30e816759fe2581 /src/testdir/test_undo.vim | |
parent | ffe010fa0363d1a04b15cc6af119a4af63ba9363 (diff) | |
download | vim-git-5842a748be8039fd6d267f5557fe391c6c95399d.tar.gz |
patch 8.0.1267: Test_swap_group may leave file behindv8.0.1267
Problem: Test_swap_group may leave file behind.
Solution: Add a try/finally.
Diffstat (limited to 'src/testdir/test_undo.vim')
-rw-r--r-- | src/testdir/test_undo.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim index bda7a442f..4ea1c9b69 100644 --- a/src/testdir/test_undo.vim +++ b/src/testdir/test_undo.vim @@ -190,6 +190,7 @@ func Test_undojoin_redo() endfunc func Test_undo_write() + call delete('Xtest') split Xtest call feedkeys("ione one one\<Esc>", 'xt') w! |