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:
@@ -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
|
||||
|
@@ -783,6 +783,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
830,
|
||||
/**/
|
||||
829,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user