Skip to content

Commit 0f9ea22

Browse files
committed
patch 8.0.0415: balloon test fails on MS-Windows
Problem: Balloon test fails on MS-Windows. Solution: Test with 0x7fffffff instead of 0xffffffff.
1 parent d5841f2 commit 0f9ea22

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/testdir/test_gui.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ func Test_set_balloondelay()
155155

156156
" Since p_bdelay is of type long currently, the upper bound can be
157157
" impractically huge and machine-dependent. Practically, it's sufficient
158-
" to check if balloondelay works with 0xffffffff (32 bits) for now.
159-
set balloondelay=4294967295
160-
call assert_equal(4294967295, &balloondelay)
158+
" to check if balloondelay works with 0x7fffffff (32 bits) for now.
159+
set balloondelay=2147483647
160+
call assert_equal(2147483647, &balloondelay)
161161

162162
let &balloondelay = balloondelay_saved
163163
endfunc

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
415,
767769
/**/
768770
414,
769771
/**/

0 commit comments

Comments
 (0)