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:
@@ -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)
|
||||||
|
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user