patch 9.1.1945: tests: Test_getbufwintabinfo() leaves swapfiles behind

Problem:  tests: Test_getbufwintabinfo() leaves swapfiles behind
Solution: Close all open buffers using %bw!

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-12-02 19:59:54 +00:00
parent a04ab5f04c
commit 397ad21268
2 changed files with 3 additions and 0 deletions

View File

@ -111,6 +111,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()

View File

@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1945,
/**/
1944,
/**/