diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-10-11 22:57:34 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-10-11 22:57:34 +0100 |
commit | 3d031a0ae791f901c0c2dedd5d8b9de137c23acc (patch) | |
tree | b562654cd5310fc5d807120b5230ff7d22186766 /src/testdir/test_startup.vim | |
parent | 37f341d7236ff8a1e886bbb0f0ba0700ad589373 (diff) |
patch 8.2.3499: GUI geometry startup test failsv8.2.3499
Problem: GUI geometry startup test fails.
Solution: Check string values instead of numbers
Diffstat (limited to 'src/testdir/test_startup.vim')
-rw-r--r-- | src/testdir/test_startup.vim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testdir/test_startup.vim b/src/testdir/test_startup.vim index b20954b25c..d67bfb7777 100644 --- 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 |