Mercurial > vim
changeset 11052:975f54a391ec v8.0.0415
patch 8.0.0415: balloon test fails on MS-Windows
commit https://github.com/vim/vim/commit/0f9ea22c115084a982c86214ef41200e0dfc1ea6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 5 13:48:13 2017 +0100
patch 8.0.0415: balloon test fails on MS-Windows
Problem: Balloon test fails on MS-Windows.
Solution: Test with 0x7fffffff instead of 0xffffffff.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 05 Mar 2017 14:00:04 +0100 |
parents | b13abeaf5ac0 |
children | f45fc115b687 |
files | src/testdir/test_gui.vim src/version.c |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_gui.vim +++ b/src/testdir/test_gui.vim @@ -155,9 +155,9 @@ func Test_set_balloondelay() " Since p_bdelay is of type long currently, the upper bound can be " impractically huge and machine-dependent. Practically, it's sufficient - " to check if balloondelay works with 0xffffffff (32 bits) for now. - set balloondelay=4294967295 - call assert_equal(4294967295, &balloondelay) + " to check if balloondelay works with 0x7fffffff (32 bits) for now. + set balloondelay=2147483647 + call assert_equal(2147483647, &balloondelay) let &balloondelay = balloondelay_saved endfunc