forked from aniani/vim
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user