patch 9.1.1453: tests: Test_geometry() may fail

Commit: 
https://github.com/vim/vim/commit/e965b7ac5f3bad78c66fe83d4f536ef0237fbee6
Author: Christian Brabandt <c...@256bit.org>
Date:   Tue Jun 10 21:29:43 2025 +0200

    patch 9.1.1453: tests: Test_geometry() may fail
    
    Problem:  tests: Test_geometry() may fail
              (Gary Johnson)
    Solution: allow a slightly smaller value when checking the number of
              lines.
    
    fixes: #17491
    
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_startup.vim b/src/testdir/test_startup.vim
index 0b2b76adf..6d4348701 100644
--- a/src/testdir/test_startup.vim
+++ b/src/testdir/test_startup.vim
@@ -526,7 +526,7 @@ func Test_geometry()
       " Depending on the GUI library and the windowing system the final size
       " might be a bit different, allow for some tolerance.  Tuned based on
       " actual failures.
-      call assert_inrange(31, 35, str2nr(lines[0]))
+      call assert_inrange(30, 35, str2nr(lines[0]))
       " for some reason, the window may contain fewer lines than requested
       " for GTK, so allow some tolerance
       call assert_inrange(8, 13,  str2nr(lines[1]))
diff --git a/src/version.c b/src/version.c
index 9e37c250b..03922e5f2 100644
--- a/src/version.c
+++ b/src/version.c
@@ -709,6 +709,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1453,
 /**/
     1452,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1uP4u7-00BvIF-23%40256bit.org.

Raspunde prin e-mail lui