mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00: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:
@@ -525,11 +525,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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user