0
0
mirror of https://github.com/vim/vim.git synced 2025-10-30 09:47:20 -04:00

patch 9.0.1005: a failed test may leave a swap file behind

Problem:    A failed test may leave a swap file behind.
Solution:   Delete the swap file to avoid another test to fail.  Use another
            file name.
This commit is contained in:
Bram Moolenaar
2022-12-04 23:00:41 +00:00
parent a0a6f3a22a
commit d0f8d39d20
7 changed files with 57 additions and 1 deletions

View File

@@ -455,7 +455,7 @@ func Test_invalid_name()
endfunc
func Test_ownsyntax()
new Xfoo
new XfooOwnSyntax
call setline(1, '#define FOO')
syntax on
set filetype=c