mirror of
https://github.com/neovim/neovim.git
synced 2026-07-12 20:30:35 +00:00
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.
5842a748be
This commit is contained in:
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user