0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.3499: GUI geometry startup test fails

Problem:    GUI geometry startup test fails.
Solution:   Check string values instead of numbers
This commit is contained in:
Bram Moolenaar
2021-10-11 22:57:34 +01:00
parent 37f341d723
commit 3d031a0ae7
2 changed files with 7 additions and 5 deletions

View File

@@ -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

View File

@@ -757,6 +757,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3499,
/**/
3498,
/**/