0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

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.
This commit is contained in:
Bram Moolenaar
2019-01-27 14:29:24 +01:00
parent d39e275b57
commit e3d0654544
2 changed files with 5 additions and 0 deletions

View File

@@ -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

View File

@@ -783,6 +783,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
830,
/**/
829,
/**/