diff options
-rw-r--r-- | src/nvim/testdir/test_swap.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_swap.vim b/src/nvim/testdir/test_swap.vim index 3db438cf4b..11eb324488 100644 --- a/src/nvim/testdir/test_swap.vim +++ b/src/nvim/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 |