aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-19 11:11:54 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-04-19 11:29:35 +0800
commitb9bf1b1294f9acd7c410ada02ff5c1d0dbb95f12 (patch)
treef521501838d8ad1da2b87d3f7e0267ea2f0d6d65
parent5f4e0a005b0873f466aba16762d6671b7f842d51 (diff)
downloadrneovim-b9bf1b1294f9acd7c410ada02ff5c1d0dbb95f12.tar.gz
rneovim-b9bf1b1294f9acd7c410ada02ff5c1d0dbb95f12.tar.bz2
rneovim-b9bf1b1294f9acd7c410ada02ff5c1d0dbb95f12.zip
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>
-rw-r--r--test/old/testdir/runtest.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/old/testdir/runtest.vim b/test/old/testdir/runtest.vim
index 166bfaede1..69a41dcbfc 100644
--- 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.