mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.3499: GUI geometry startup test fails
Problem: GUI geometry startup test fails.
Solution: Check string values instead of numbers
3d031a0ae7
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
parent
78fa1f069d
commit
e043dbf0aa
@ -525,11 +525,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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user