Patch 8.2.3495
Problem: GUI geometry startup test fails on some systems. (Drew Vogel)
Solution: Add tolerance to the size check. (closes #8815)
Files: src/testdir/test_startup.vim
*** ../vim-8.2.3494/src/testdir/test_startup.vim 2021-10-05
01:19:47.077306874 +0100
--- src/testdir/test_startup.vim 2021-10-11 16:03:01.087648152 +0100
***************
*** 533,539 ****
[CODE]
if RunVim([], after, '-f -g -geometry 31x13+41+43')
let lines = readfile('Xtest_geometry')
! call assert_equal(['31', '13', '41', '43', '[41, 43]'], lines)
endif
endif
--- 533,546 ----
[CODE]
if RunVim([], after, '-f -g -geometry 31x13+41+43')
let lines = readfile('Xtest_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])
endif
endif
*** ../vim-8.2.3494/src/version.c 2021-10-11 15:40:36.476538476 +0100
--- src/version.c 2021-10-11 16:05:52.331299610 +0100
***************
*** 759,760 ****
--- 759,762 ----
{ /* Add new patch number below this line */
+ /**/
+ 3495,
/**/
--
All true wisdom is found on T-shirts.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20211011150935.1C41EC80053%40moolenaar.net.