mirror of
https://github.com/vim/vim.git
synced 2025-12-10 18:46:57 -05:00
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:
@ -111,6 +111,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()
|
||||||
|
|||||||
@ -729,6 +729,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1945,
|
||||||
/**/
|
/**/
|
||||||
1944,
|
1944,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user