mirror of
https://github.com/neovim/neovim.git
synced 2026-03-31 04:42:03 +00:00
vim-patch:9.1.2020: tests: test_virtualedit.vim leaves swapfiles behind (#37115)
Problem: tests: test_virtualedit.vim leaves swapfiles behind
Solution: Close open buffers using :bw! instead of :close!
a8a0ee5004
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -395,7 +395,7 @@ func Test_delete_break_tab()
|
||||
normal v3ld
|
||||
call assert_equal(' two', getline(1))
|
||||
set virtualedit&
|
||||
close!
|
||||
bw!
|
||||
endfunc
|
||||
|
||||
" Test for using <BS>, <C-W> and <C-U> in virtual edit mode
|
||||
@@ -413,7 +413,7 @@ func Test_ve_backspace()
|
||||
call assert_equal([0, 1, 1, 0], getpos('.'))
|
||||
set backspace&
|
||||
set virtualedit&
|
||||
close!
|
||||
bw!
|
||||
endfunc
|
||||
|
||||
" Test for delete (x) on EOL character and after EOL
|
||||
|
||||
Reference in New Issue
Block a user