patch 9.1.1945: tests: Test_getbufwintabinfo() leaves swapfiles behind

Commit: 
https://github.com/vim/vim/commit/397ad21268904d977ffe86db684a5d460daba8ed
Author: Christian Brabandt <[email protected]>
Date:   Tue Dec 2 19:59:54 2025 +0000

    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 <[email protected]>

diff --git a/src/testdir/test_bufwintabinfo.vim 
b/src/testdir/test_bufwintabinfo.vim
index 96dc06023..1d2418c8c 100644
--- a/src/testdir/test_bufwintabinfo.vim
+++ b/src/testdir/test_bufwintabinfo.vim
@@ -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()
diff --git a/src/version.c b/src/version.c
index 000561a9e..9daa59bfd 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1945,
 /**/
     1944,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vQWm7-00DDqm-QW%40256bit.org.

Raspunde prin e-mail lui