patch 9.1.2103: tests: test_fold.vim leaves swapfiles behind
Commit:
https://github.com/vim/vim/commit/10b272c126e906b6bab3621b162ae7faea42472a
Author: Christian Brabandt <[email protected]>
Date: Wed Jan 21 19:54:47 2026 +0000
patch 9.1.2103: tests: test_fold.vim leaves swapfiles behind
Problem: tests: test_fold.vim leaves swapfiles behind
Solution: Close open buffer using :bw! instead of :close!
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/testdir/test_fold.vim b/src/testdir/test_fold.vim
index 56b6aaece..763988558 100644
--- a/src/testdir/test_fold.vim
+++ b/src/testdir/test_fold.vim
@@ -1091,7 +1091,7 @@ func Test_fold_expr_error()
endfor
set foldmethod& foldexpr&
- close!
+ bw!
endfunc
func Test_undo_fold_deletion()
diff --git a/src/version.c b/src/version.c
index b893c9ad2..47ae372a4 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 */
+/**/
+ 2103,
/**/
2102,
/**/
--
--
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/E1vieN6-006yNs-0a%40256bit.org.