commit | d6e74f547910d5273a3b99c23fb3197131c7d379 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Dec 06 15:07:56 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Dec 06 15:07:56 2022 +0000 |
tree | b77a456c51e165a3c88c07fe935dac32923bf3a1 | |
parent | 6572a90287c7aa6e8042b18604891e9df3657245 [diff] [blame] |
patch 9.0.1021: test trips over g:name Problem: Test trips over g:name. Solution: Delete g:name after using it.
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index ccd22e8..1d70a90 100644 --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim
@@ -208,6 +208,7 @@ for name in s:GetSwapFileList() call delete(name) endfor +unlet name " Invoked when a test takes too much time.