diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-12-06 15:07:56 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-12-06 15:07:56 +0000 |
commit | d6e74f547910d5273a3b99c23fb3197131c7d379 (patch) | |
tree | b77a456c51e165a3c88c07fe935dac32923bf3a1 /src/testdir/runtest.vim | |
parent | 6572a90287c7aa6e8042b18604891e9df3657245 (diff) |
patch 9.0.1021: test trips over g:namev9.0.1021
Problem: Test trips over g:name.
Solution: Delete g:name after using it.
Diffstat (limited to 'src/testdir/runtest.vim')
-rw-r--r-- | src/testdir/runtest.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index ccd22e89fa..1d70a90f05 100644 --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim @@ -208,6 +208,7 @@ endfunc for name in s:GetSwapFileList() call delete(name) endfor +unlet name " Invoked when a test takes too much time. |