mirror of
https://github.com/neovim/neovim.git
synced 2026-05-08 09:20:00 -04:00
vim-patch:9.1.1945: tests: Test_getbufwintabinfo() leaves swapfiles behind
Problem: tests: Test_getbufwintabinfo() leaves swapfiles behind Solution: Close all open buffers using %bw! https://github.com/vim/vim/commit/397ad21268904d977ffe86db684a5d460daba8ed Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -112,6 +112,7 @@ func Test_getbufwintabinfo()
|
||||
call assert_true(winlist[2].quickfix)
|
||||
call assert_false(winlist[2].loclist)
|
||||
wincmd t | only
|
||||
%bw!
|
||||
endfunc
|
||||
|
||||
function Test_get_wininfo_leftcol()
|
||||
|
||||
Reference in New Issue
Block a user