From: Bram Moolenaar Date: Tue, 6 Dec 2022 15:07:56 +0000 (+0000) Subject: patch 9.0.1021: test trips over g:name X-Git-Tag: v9.0.1021 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d6e74f547910d5273a3b99c23fb3197131c7d379;p=vim 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 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, /**/