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!

397ad21268

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2025-12-03 09:00:34 +08:00
parent 7452a8a568
commit c3c8a18af7

View File

@@ -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()