patch 9.1.1996: tests: test_cmdline.vim leaves swapfiles behind

Commit: 
https://github.com/vim/vim/commit/bf1b41e387eb47421a256b9a4eb9c01ae29099ee
Author: Christian Brabandt <[email protected]>
Date:   Wed Dec 17 22:16:31 2025 +0100

    patch 9.1.1996: tests: test_cmdline.vim leaves swapfiles behind
    
    Problem:  tests: test_cmdline.vim leaves swapfiles behind
    Solution: Close open buffers using :bw! instead of :close!
    
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim
index 10246b883..b4d11ac9d 100644
--- a/src/testdir/test_cmdline.vim
+++ b/src/testdir/test_cmdline.vim
@@ -1861,7 +1861,7 @@ func Test_lnum_and_pattern_as_range()
   2/foo/yank
   call assert_equal("foo 3
", @")
   call assert_equal(1, line('.'))
-  close!
+  bw!
 endfunc
 
 " Tests for getcmdline(), getcmdpos() and getcmdtype()
@@ -2219,7 +2219,7 @@ func Test_cmdline_ctrl_g()
   " 'insertmode'
   call feedkeys(":set im\<cr>\<C-L>:\<C-\>\<C-G>12\<C-L>:set noim\<cr>", 'xt')
   call assert_equal('ab12xyc', getline(1))
-  close!
+  bw!
 endfunc
 
 " Test for 'wildmode'
diff --git a/src/version.c b/src/version.c
index 02a1cc7f2..1ae59e0fd 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1996,
 /**/
     1995,
 /**/

-- 
-- 
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/E1vVz5v-002en0-LW%40256bit.org.

Raspunde prin e-mail lui