patch 9.1.2020: tests: test_virtualedit.vim leaves swapfiles behind

Commit: 
https://github.com/vim/vim/commit/a8a0ee5004a005421212961a06ca7e49d7c8ef2d
Author: Christian Brabandt <[email protected]>
Date:   Fri Dec 26 15:16:46 2025 +0000

    patch 9.1.2020: tests: test_virtualedit.vim leaves swapfiles behind
    
    Problem:  tests: test_virtualedit.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_virtualedit.vim b/src/testdir/test_virtualedit.vim
index 03b8539d7..fa6151cda 100644
--- a/src/testdir/test_virtualedit.vim
+++ b/src/testdir/test_virtualedit.vim
@@ -395,7 +395,7 @@ func Test_delete_break_tab()
   normal v3ld
   call assert_equal('    two', getline(1))
   set virtualedit&
-  close!
+  bw!
 endfunc
 
 " Test for using <BS>, <C-W> and <C-U> in virtual edit mode
@@ -413,7 +413,7 @@ func Test_ve_backspace()
   call assert_equal([0, 1, 1, 0], getpos('.'))
   set backspace&
   set virtualedit&
-  close!
+  bw!
 endfunc
 
 " Test for delete (x) on EOL character and after EOL
diff --git a/src/version.c b/src/version.c
index 5c16b6f50..82e85a94d 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 */
+/**/
+    2020,
 /**/
     2019,
 /**/

-- 
-- 
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/E1vZ9lT-00GtCI-JF%40256bit.org.

Raspunde prin e-mail lui