patch 8.2.3096: temp files remain after running tests
Problem: Temp files remain after running tests.
Solution: Delete the right files. (Dominique Pellé, closes #8509)
diff --git a/src/testdir/test_debugger.vim b/src/testdir/test_debugger.vim
index bb3a246..97e115b 100644
--- a/src/testdir/test_debugger.vim
+++ b/src/testdir/test_debugger.vim
@@ -975,8 +975,7 @@
call RunDbgCmd(buf, 'cont')
call StopVimInTerminal(buf)
- call delete('Xtest1.vim')
- call delete('Xtest2.vim')
+ call delete('XtestDebug.vim')
endfunc
func Test_debug_def_function()
diff --git a/src/testdir/test_lambda.vim b/src/testdir/test_lambda.vim
index 60d58c5..e173ea3 100644
--- a/src/testdir/test_lambda.vim
+++ b/src/testdir/test_lambda.vim
@@ -330,6 +330,7 @@
let caught_932 = 1
endtry
call assert_equal(1, caught_932)
+ call delete('Xscript')
endfunc
" vim: shiftwidth=2 sts=2 expandtab
diff --git a/src/testdir/test_visual.vim b/src/testdir/test_visual.vim
index 3df6533..1092951 100644
--- a/src/testdir/test_visual.vim
+++ b/src/testdir/test_visual.vim
@@ -1262,7 +1262,7 @@
" clean up
call term_sendkeys(buf, "\<Esc>")
call StopVimInTerminal(buf)
- call delete('XTest_beval')
+ call delete('XTest_block')
endfunc