From c3c8a18af789ec0650a5f6a45e9507fd4da7c5b4 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 3 Dec 2025 09:00:34 +0800 Subject: [PATCH] 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 --- test/old/testdir/test_bufwintabinfo.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/test/old/testdir/test_bufwintabinfo.vim b/test/old/testdir/test_bufwintabinfo.vim index 0a4bd0b674..225c98c530 100644 --- a/test/old/testdir/test_bufwintabinfo.vim +++ b/test/old/testdir/test_bufwintabinfo.vim @@ -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()