]> granicus.if.org Git - vim/commitdiff
patch 9.0.0441: closure in for loop test fails on some systems v9.0.0441
authorBram Moolenaar <Bram@vim.org>
Sun, 11 Sep 2022 11:01:04 +0000 (12:01 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 11 Sep 2022 11:01:04 +0000 (12:01 +0100)
Problem:    Closure in for loop test fails on some systems.
Solution:   Do not wait for the ruler to show up. (issue #11106)

src/testdir/test_vim9_func.vim
src/version.c

index 4d6e226892f64cfa6641bde00f3105d4a104da9a..a1c58a2048a45e763a0784a814d53609276cc975 100644 (file)
@@ -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
index 02e55d96dd0c4a716803f79da64c1e088410a8aa..b7bc80a1f2ce0e5309c84bbeff4b2de4a8be766c 100644 (file)
@@ -703,6 +703,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    441,
 /**/
     440,
 /**/