commit b9bf1b1294f9acd7c410ada02ff5c1d0dbb95f12
parent 5f4e0a005b0873f466aba16762d6671b7f842d51
Author: zeertzjq <zeertzjq@outlook.com>
Date: Wed, 19 Apr 2023 11:11:54 +0800
vim-patch:9.0.1021: test trips over g:name
Problem: Test trips over g:name.
Solution: Delete g:name after using it.
https://github.com/vim/vim/commit/d6e74f547910d5273a3b99c23fb3197131c7d379
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/test/old/testdir/runtest.vim b/test/old/testdir/runtest.vim
@@ -174,6 +174,7 @@ endfunc
for name in s:GetSwapFileList()
call delete(name)
endfor
+unlet name
" Invoked when a test takes too much time.