# HG changeset patch # User Bram Moolenaar # Date 1662894903 -7200 # Node ID 6ed06ffc582188cb65a026d2d744ebe8f07c9734 # Parent 1ab4a87efc91c1f166fb3d04bf1465fbea15ecca patch 9.0.0441: closure in for loop test fails on some systems Commit: https://github.com/vim/vim/commit/c069edeab28bdd7289d7096cd92804cb54841557 Author: Bram Moolenaar Date: Sun Sep 11 12:01:04 2022 +0100 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 https://github.com/vim/vim/issues/11106) diff --git a/src/testdir/test_vim9_func.vim b/src/testdir/test_vim9_func.vim --- a/src/testdir/test_vim9_func.vim +++ b/src/testdir/test_vim9_func.vim @@ -2939,7 +2939,7 @@ def Run_Test_closure_in_for_loop_fails() 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 diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 441, +/**/ 440, /**/ 439,