mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -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
|
split bar/x.txt
|
||||||
only
|
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&
|
set directory&
|
||||||
call delete('Xswapdir', 'rf')
|
call delete('Xswapdir', 'rf')
|
||||||
endfunc
|
endfunc
|
||||||
|
@@ -783,6 +783,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
830,
|
||||||
/**/
|
/**/
|
||||||
829,
|
829,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user