0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

patch 8.2.2088: Vim9: script test sometimes fails

Problem:    Vim9: script test sometimes fails.
Solution:   Unlet variables.
This commit is contained in:
Bram Moolenaar
2020-12-04 17:38:00 +01:00
parent 21e51221f2
commit f6c177ab3a
2 changed files with 3 additions and 0 deletions

View File

@@ -1945,6 +1945,7 @@ def Test_for_loop_unpack()
slist->add(t:tabvar) slist->add(t:tabvar)
endfor endfor
assert_equal(['global', 'buf', 'win', 'tab', '1', '2', '3', '4'], slist) assert_equal(['global', 'buf', 'win', 'tab', '1', '2', '3', '4'], slist)
unlet! g:globalvar b:bufvar w:winvar t:tabvar
END END
CheckDefAndScriptSuccess(lines) CheckDefAndScriptSuccess(lines)

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2088,
/**/ /**/
2087, 2087,
/**/ /**/