# HG changeset patch # User Bram Moolenaar # Date 1633989605 -7200 # Node ID a12337b82da0a83314fa766c3fa8b1e33f67b009 # Parent f6cbd4c55846eafc525f2abd6df4ab373173cf91 patch 8.2.3499: GUI geometry startup test fails Commit: https://github.com/vim/vim/commit/3d031a0ae791f901c0c2dedd5d8b9de137c23acc Author: Bram Moolenaar Date: Mon Oct 11 22:57:34 2021 +0100 patch 8.2.3499: GUI geometry startup test fails Problem: GUI geometry startup test fails. Solution: Check string values instead of numbers diff --git a/src/testdir/test_startup.vim b/src/testdir/test_startup.vim --- a/src/testdir/test_startup.vim +++ b/src/testdir/test_startup.vim @@ -536,11 +536,11 @@ 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, lines[0]) - call assert_equal(13, lines[1]) - call assert_equal(41, lines[2]) - call assert_equal(43, lines[3]) - call assert_equal([41, 43], lines[4]) + call assert_inrange(31, 35, str2nr(lines[0])) + call assert_equal('13', lines[1]) + call assert_equal('41', lines[2]) + call assert_equal('43', lines[3]) + call assert_equal('[41, 43]', lines[4]) endif endif diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -758,6 +758,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3499, +/**/ 3498, /**/ 3497,