mirror of
https://github.com/neovim/neovim.git
synced 2026-07-12 12:29:44 +00: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!
397ad21268
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_true(winlist[2].quickfix)
|
||||||
call assert_false(winlist[2].loclist)
|
call assert_false(winlist[2].loclist)
|
||||||
wincmd t | only
|
wincmd t | only
|
||||||
|
%bw!
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
function Test_get_wininfo_leftcol()
|
function Test_get_wininfo_leftcol()
|
||||||
|
|||||||
Reference in New Issue
Block a user