From: Christian Brabandt Date: Sun, 30 Nov 2025 15:09:53 +0000 (+0000) Subject: patch 9.1.1939: tests: test_matchfuzzy() leaves swapfiles behind X-Git-Tag: v9.1.1939^0 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e9694df10a32cfe3314c2487f4f0110c4d3de67;p=thirdparty%2Fvim.git patch 9.1.1939: tests: test_matchfuzzy() leaves swapfiles behind Problem: tests: test_matchfuzzy() leaves swapfiles behind Solution: Close loaded buffers using "%bw" Signed-off-by: Christian Brabandt --- diff --git a/src/testdir/test_matchfuzzy.vim b/src/testdir/test_matchfuzzy.vim index 581ec35119..eb4c8c6567 100644 --- a/src/testdir/test_matchfuzzy.vim +++ b/src/testdir/test_matchfuzzy.vim @@ -58,6 +58,7 @@ func Test_matchfuzzy() let l = getbufinfo()->map({_, v -> fnamemodify(v.name, ':t')})->matchfuzzy('ndl') call assert_equal(1, len(l)) call assert_match('needle', l[0]) + %bw! " Test for fuzzy matching dicts let l = [{'id' : 5, 'val' : 'crayon'}, {'id' : 6, 'val' : 'camera'}] diff --git a/src/version.c b/src/version.c index 528dc077b6..13ec4924d0 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 */ +/**/ + 1939, /**/ 1938, /**/