summaryrefslogtreecommitdiff
path: root/src/testdir/test_gui.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-05 13:48:13 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-05 13:48:13 +0100
commit0f9ea22c115084a982c86214ef41200e0dfc1ea6 (patch)
tree49c65b7b5f21f9a907c767cbcd5e26b20938849f /src/testdir/test_gui.vim
parentd5841f28d4b041830af0f3314979f9b9093d1a77 (diff)
downloadvim-0f9ea22c115084a982c86214ef41200e0dfc1ea6.zip
patch 8.0.0415: balloon test fails on MS-Windows
Problem: Balloon test fails on MS-Windows. Solution: Test with 0x7fffffff instead of 0xffffffff.
Diffstat (limited to 'src/testdir/test_gui.vim')
-rw-r--r--src/testdir/test_gui.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testdir/test_gui.vim b/src/testdir/test_gui.vim
index 74720d9eb..7d39a1d40 100644
--- 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