vim-patch:8.2.4200: some tests do not clean up properly

Problem:    Some tests do not clean up properly.
Solution:   Delete created files. (Yegappan Lakshmanan, closes vim/vim#9611)
7e765a39b7

Omit test_filetype.vim: already ported
Omit test_vim9_import.vim: N/A
This commit is contained in:
zeertzjq
2022-03-30 21:54:23 +08:00
parent d5dee83552
commit 5a3a1304e1
2 changed files with 2 additions and 0 deletions

View File

@@ -164,6 +164,7 @@ func Test_fileinfo_after_echo()
" clean up
call StopVimInTerminal(buf)
call delete('Xtest_fileinfo_after_echo')
call delete('b.txt')
endfunc
" vim: shiftwidth=2 sts=2 expandtab

View File

@@ -65,5 +65,6 @@ describe('messages', function()
{1:~ }|
'b' written |
]])
os.remove('b.txt')
end)
end)