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:
@ -536,11 +536,11 @@ func Test_geometry()
|
|||||||
" Depending on the GUI library and the windowing system the final size
|
" Depending on the GUI library and the windowing system the final size
|
||||||
" might be a bit different, allow for some tolerance. Tuned based on
|
" might be a bit different, allow for some tolerance. Tuned based on
|
||||||
" actual failures.
|
" actual failures.
|
||||||
call assert_inrange(31, 35, lines[0])
|
call assert_inrange(31, 35, str2nr(lines[0]))
|
||||||
call assert_equal(13, lines[1])
|
call assert_equal('13', lines[1])
|
||||||
call assert_equal(41, lines[2])
|
call assert_equal('41', lines[2])
|
||||||
call assert_equal(43, lines[3])
|
call assert_equal('43', lines[3])
|
||||||
call assert_equal([41, 43], lines[4])
|
call assert_equal('[41, 43]', lines[4])
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@ -757,6 +757,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3499,
|
||||||
/**/
|
/**/
|
||||||
3498,
|
3498,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user