]> granicus.if.org Git - vim/commitdiff
patch 8.0.0415: balloon test fails on MS-Windows v8.0.0415
authorBram Moolenaar <Bram@vim.org>
Sun, 5 Mar 2017 12:48:13 +0000 (13:48 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 5 Mar 2017 12:48:13 +0000 (13:48 +0100)
Problem:    Balloon test fails on MS-Windows.
Solution:   Test with 0x7fffffff instead of 0xffffffff.

src/testdir/test_gui.vim
src/version.c

index 74720d9eb73b4e4209dce92dc6b467cbe70a0c44..7d39a1d40deb4553d36060a1e679cf068f3a504e 100644 (file)
@@ -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
index 2e52f845118ef86b0452a9d04e63da08aaf823c2..dbb7df286c040241799394e820e3bb188fba4491 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    415,
 /**/
     414,
 /**/