vim-patch:9.0.1021: test trips over g:name

Problem:    Test trips over g:name.
Solution:   Delete g:name after using it.

d6e74f5479

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
zeertzjq 2023-04-19 11:11:54 +08:00
parent 5f4e0a005b
commit b9bf1b1294

View File

@ -174,6 +174,7 @@ endfunc
for name in s:GetSwapFileList() for name in s:GetSwapFileList()
call delete(name) call delete(name)
endfor endfor
unlet name
" Invoked when a test takes too much time. " Invoked when a test takes too much time.