From: Bram Moolenaar Date: Sun, 27 Jan 2019 13:29:24 +0000 (+0100) Subject: patch 8.1.0830: test leaves directory behind on MS-Windows X-Git-Tag: v8.1.0830 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3d065454408a103c39308651dd7793f0bf55ba6;p=vim patch 8.1.0830: test leaves directory behind on MS-Windows Problem: Test leaves directory behind on MS-Windows. Solution: Close buffer before deleting directory. --- diff --git a/src/testdir/test_swap.vim b/src/testdir/test_swap.vim index 208d4d966..ce5257891 100644 --- a/src/testdir/test_swap.vim +++ b/src/testdir/test_swap.vim @@ -98,6 +98,9 @@ func Test_missing_dir() split bar/x.txt only + " Delete the buffer so that swap file is removed before we try to delete the + " directory. That fails on MS-Windows. + %bdelete! set directory& call delete('Xswapdir', 'rf') endfunc diff --git a/src/version.c b/src/version.c index af289037c..989179632 100644 --- a/src/version.c +++ b/src/version.c @@ -783,6 +783,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 830, /**/ 829, /**/