neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit e043dbf0aaaed75c00196fc6ccd094bb3b61da65
parent 78fa1f069ddfdc65d2452056d051678d1242e034
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Mon,  5 Dec 2022 09:52:46 +0800

vim-patch:8.2.3499: GUI geometry startup test fails

Problem:    GUI geometry startup test fails.
Solution:   Check string values instead of numbers

https://github.com/vim/vim/commit/3d031a0ae791f901c0c2dedd5d8b9de137c23acc

Co-authored-by: Bram Moolenaar <Bram@vim.org>

Diffstat:
Msrc/nvim/testdir/test_startup.vim | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/nvim/testdir/test_startup.vim b/src/nvim/testdir/test_startup.vim @@ -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