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)
diff --git a/src/testdir/test_vim9_func.vim b/src/testdir/test_vim9_func.vim
index 4d6e226..a1c58a2 100644
--- a/src/testdir/test_vim9_func.vim
+++ b/src/testdir/test_vim9_func.vim
@@ -2939,7 +2939,7 @@
writefile(lines, 'XTest_closure_fails', 'D')
# Check that an error shows
- var buf = g:RunVimInTerminal('-S XTest_closure_fails', {'rows': 6})
+ var buf = g:RunVimInTerminal('-S XTest_closure_fails', {rows: 6, wait_for_ruler: 0})
g:VerifyScreenDump(buf, 'Test_vim9_closure_fails', {})
# clean up