diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-04-29 20:59:43 -0400 |
|---|---|---|
| committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-04-29 20:59:51 -0400 |
| commit | c3edbf813a2a67d5d0889ff1420407dfb78847cb (patch) | |
| tree | 421c5d5322a3f6e9fe0e4cc94c08f9038180507f /src/nvim/testdir/test_undo.vim | |
| parent | 3a8ebda10ae0acaf59c5af529e868db21282e025 (diff) | |
| download | rneovim-c3edbf813a2a67d5d0889ff1420407dfb78847cb.tar.gz rneovim-c3edbf813a2a67d5d0889ff1420407dfb78847cb.tar.bz2 rneovim-c3edbf813a2a67d5d0889ff1420407dfb78847cb.zip | |
vim-patch:8.0.1267: Test_swap_group may leave file behind
Problem: Test_swap_group may leave file behind.
Solution: Add a try/finally.
https://github.com/vim/vim/commit/5842a748be8039fd6d267f5557fe391c6c95399d
Diffstat (limited to 'src/nvim/testdir/test_undo.vim')
| -rw-r--r-- | src/nvim/testdir/test_undo.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_undo.vim b/src/nvim/testdir/test_undo.vim index 9729ca9f57..beb44f9699 100644 --- a/src/nvim/testdir/test_undo.vim +++ b/src/nvim/testdir/test_undo.vim @@ -242,6 +242,7 @@ func Test_undojoin() endfunc func Test_undo_write() + call delete('Xtest') split Xtest call feedkeys("ione one one\<Esc>", 'xt') w! |