From 310d0f15c0db1622d24e8fda855e7dfa3d2fe832 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 13 Nov 2023 06:48:33 +0800 Subject: vim-patch:8.2.3096: temp files remain after running tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- test/old/testdir/test_debugger.vim | 3 +-- test/old/testdir/test_lambda.vim | 1 + 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 -- cgit