aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-13 06:48:33 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-11-13 06:49:09 +0800
commit310d0f15c0db1622d24e8fda855e7dfa3d2fe832 (patch)
tree0802bfe89ab04308e713fdc3efb66bb0173d34c3
parent1cc2143710e9eb982c5184ee23eae542333a27e3 (diff)
downloadrneovim-310d0f15c0db1622d24e8fda855e7dfa3d2fe832.tar.gz
rneovim-310d0f15c0db1622d24e8fda855e7dfa3d2fe832.tar.bz2
rneovim-310d0f15c0db1622d24e8fda855e7dfa3d2fe832.zip
vim-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 vim/vim#8509) https://github.com/vim/vim/commit/6c72fd51a899e6f0c272b08b9784d3c7a3cede20 Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com>
-rw-r--r--test/old/testdir/test_debugger.vim3
-rw-r--r--test/old/testdir/test_lambda.vim1
2 files changed, 2 insertions, 2 deletions
diff --git a/test/old/testdir/test_debugger.vim b/test/old/testdir/test_debugger.vim
index c6228815c9..ae7672bffa 100644
--- a/test/old/testdir/test_debugger.vim
+++ b/test/old/testdir/test_debugger.vim
@@ -1015,8 +1015,7 @@ func Test_debug_def_and_legacy_function()
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/test/old/testdir/test_lambda.vim b/test/old/testdir/test_lambda.vim
index 025eb016a8..810b41b389 100644
--- a/test/old/testdir/test_lambda.vim
+++ b/test/old/testdir/test_lambda.vim
@@ -329,6 +329,7 @@ func Test_closure_error()
let caught_932 = 1
endtry
call assert_equal(1, caught_932)
+ call delete('Xscript')
endfunc
" vim: shiftwidth=2 sts=2 expandtab