Mercurial > vim
changeset 15645:f315ab10d579 v8.1.0830
patch 8.1.0830: test leaves directory behind on MS-Windows
commit https://github.com/vim/vim/commit/e3d065454408a103c39308651dd7793f0bf55ba6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 27 14:29:24 2019 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 27 Jan 2019 14:30:05 +0100 |
parents | fb81e4e5a38b |
children | 841b2d2f5c3c |
files | src/testdir/test_swap.vim src/version.c |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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