From c3edbf813a2a67d5d0889ff1420407dfb78847cb Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 29 Apr 2019 20:59:43 -0400 Subject: 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 --- src/nvim/testdir/test_undo.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nvim/testdir/test_undo.vim') 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\", 'xt') w! -- cgit