From d6e74f547910d5273a3b99c23fb3197131c7d379 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 6 Dec 2022 15:07:56 +0000 Subject: [PATCH] patch 9.0.1021: test trips over g:name Problem: Test trips over g:name. Solution: Delete g:name after using it. --- src/testdir/runtest.vim | 1 + src/version.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index ccd22e89f..1d70a90f0 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. diff --git a/src/version.c b/src/version.c index 288164a4e..10e56c139 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1021, /**/ 1020, /**/ -- 2.40.0