0
0
mirror of https://github.com/vim/vim.git synced 2025-10-02 05:04:20 -04:00

patch 8.2.2169: Vim9: test leaves file behind

Problem:    Vim9: test leaves file behind.
Solution:   Rename script files. (Dominique Pellé, closes #7511)
            Use try/finally.
This commit is contained in:
Bram Moolenaar
2020-12-20 15:43:31 +01:00
parent d24602f43c
commit 090728ad4d
3 changed files with 50 additions and 22 deletions

View File

@@ -2412,7 +2412,7 @@ def Test_vim9_comment()
'delcommand Echo',
])
CheckScriptSuccess([
'vim9script'
'vim9script',
'command Echo cd # comment',
'Echo',
'delcommand Echo',
@@ -2949,6 +2949,7 @@ def Test_restoring_cpo()
endif
delete('Xsourced')
delete('Xclose')
delete('Xdone')
enddef