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:
@@ -665,6 +665,9 @@ func Test_term_mouse_click_tab()
|
||||
set mouse=a term=xterm
|
||||
call WaitForResponses()
|
||||
|
||||
" in case a previous failure left a swap file behind
|
||||
call delete('.Xfoo.swp')
|
||||
|
||||
let row = 1
|
||||
|
||||
for ttymouse_val in g:Ttymouse_values + g:Ttymouse_dec + g:Ttymouse_netterm
|
||||
|
||||
Reference in New Issue
Block a user