changeset 9937:88f9812ac47d v7.4.2242

commit https://github.com/vim/vim/commit/17f1347b867cbcc0ce380bf9a2466b4c31896f04 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Aug 22 22:47:45 2016 +0200 patch 7.4.2242 Problem: Timer test sometimes fails. Solution: Increase the maximum time for callback timer test.
author Christian Brabandt <cb@256bit.org>
date Mon, 22 Aug 2016 23:00:08 +0200
parents 2c4ab7379681
children 5eb7fba8ec4e
files src/testdir/test_timers.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_timers.vim
+++ b/src/testdir/test_timers.vim
@@ -57,7 +57,7 @@ func Test_with_partial_callback()
   let slept = WaitFor('g:val == 1')
   call assert_equal(1, g:val)
   if has('reltime')
-    call assert_inrange(50, 100, slept)
+    call assert_inrange(50, 130, slept)
   else
     call assert_inrange(20, 100, slept)
   endif
--- a/src/version.c
+++ b/src/version.c
@@ -764,6 +764,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2242,
+/**/
     2241,
 /**/
     2240,