From: Christian Brabandt Date: Fri, 26 Dec 2025 15:16:46 +0000 (+0000) Subject: patch 9.1.2020: tests: test_virtualedit.vim leaves swapfiles behind X-Git-Tag: v9.1.2020^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8a0ee5004a005421212961a06ca7e49d7c8ef2d;p=thirdparty%2Fvim.git 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 --- diff --git a/src/testdir/test_virtualedit.vim b/src/testdir/test_virtualedit.vim index 03b8539d76..fa6151cdac 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 , and 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 5c16b6f508..82e85a94d4 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, /**/