patch 9.1.1950: tests: Test_tagjump.vim leaves swapfiles behind

Commit: 
https://github.com/vim/vim/commit/05a56aabeed0bd4fab3c51e31bd831b42a005aca
Author: Christian Brabandt <[email protected]>
Date:   Wed Dec 3 19:27:08 2025 +0000

    patch 9.1.1950: tests: Test_tagjump.vim leaves swapfiles behind
    
    Problem:  tests: Test_tagjump.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_tagjump.vim b/src/testdir/test_tagjump.vim
index 5ddaaadc2..2e8a5ac9d 100644
--- a/src/testdir/test_tagjump.vim
+++ b/src/testdir/test_tagjump.vim
@@ -1310,7 +1310,7 @@ func Test_inc_search()
   call assert_fails('isplit 6 foo', 'E389:')
   call assert_fails('isplit bar', 'E389:')
 
-  close!
+  bw!
 endfunc
 
 " this was using a line from ml_get() freed by the regexp
@@ -1423,7 +1423,7 @@ func Test_macro_search()
   call assert_fails('dsplit 6 FOO', 'E388:')
   call assert_fails('dsplit BAR', 'E388:')
 
-  close!
+  bw!
 endfunc
 
 func Test_define_search()
@@ -1469,7 +1469,7 @@ func Test_comment_search()
   call assert_beeps('normal! 15|[/')
   call setline(1, '        /* comment')
   call assert_beeps('normal! 15|]/')
-  close!
+  bw!
 endfunc
 
 " Test for the 'taglength' option
diff --git a/src/version.c b/src/version.c
index 186cddf80..046706edf 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 */
+/**/
+    1950,
 /**/
     1949,
 /**/

-- 
-- 
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/E1vQsYA-00EmOW-C4%40256bit.org.

Raspunde prin e-mail lui