Skip to content

Commit c069ede

Browse files
committed
patch 9.0.0441: closure in for loop test fails on some systems
Problem: Closure in for loop test fails on some systems. Solution: Do not wait for the ruler to show up. (issue #11106)
1 parent f5fec05 commit c069ede

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/testdir/test_vim9_func.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2939,7 +2939,7 @@ def Run_Test_closure_in_for_loop_fails()
29392939
writefile(lines, 'XTest_closure_fails', 'D')
29402940

29412941
# Check that an error shows
2942-
var buf = g:RunVimInTerminal('-S XTest_closure_fails', {'rows': 6})
2942+
var buf = g:RunVimInTerminal('-S XTest_closure_fails', {rows: 6, wait_for_ruler: 0})
29432943
g:VerifyScreenDump(buf, 'Test_vim9_closure_fails', {})
29442944

29452945
# clean up

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,8 @@ static char *(features[]) =
703703

704704
static int included_patches[] =
705705
{ /* Add new patch number below this line */
706+
/**/
707+
441,
706708
/**/
707709
440,
708710
/**/

0 commit comments

Comments
 (0)