commit 5a3a1304e1e8b1fe8a2f8d0ccd70390881777bfe
parent d5dee83552033506a308cac999a8c9f08e98e6b1
Author: zeertzjq <zeertzjq@outlook.com>
Date: Wed, 30 Mar 2022 21:54:23 +0800
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)
https://github.com/vim/vim/commit/7e765a39b795d5331bf2d4927b41df7b78915af9
Omit test_filetype.vim: already ported
Omit test_vim9_import.vim: N/A
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/nvim/testdir/test_messages.vim b/src/nvim/testdir/test_messages.vim
@@ -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
diff --git a/test/functional/legacy/messages_spec.lua b/test/functional/legacy/messages_spec.lua
@@ -65,5 +65,6 @@ describe('messages', function()
{1:~ }|
'b' written |
]])
+ os.remove('b.txt')
end)
end)