Skip to content

Commit

Permalink
patch 7.4.2281
Browse files Browse the repository at this point in the history
Problem:    Timer test fails sometimes.
Solution:   Reduce minimum time by 1 msec.
  • Loading branch information
brammool committed Aug 28, 2016
1 parent e999782 commit 0426bae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/testdir/test_timers.vim
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func Test_oneshot()
let slept = WaitFor('g:val == 1')
call assert_equal(1, g:val)
if has('reltime')
call assert_inrange(50, 100, slept)
call assert_inrange(49, 100, slept)
else
call assert_inrange(20, 100, slept)
endif
Expand All @@ -32,7 +32,7 @@ func Test_repeat_three()
let slept = WaitFor('g:val == 3')
call assert_equal(3, g:val)
if has('reltime')
call assert_inrange(150, 250, slept)
call assert_inrange(149, 250, slept)
else
call assert_inrange(80, 200, slept)
endif
Expand All @@ -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, 130, slept)
call assert_inrange(49, 130, slept)
else
call assert_inrange(20, 100, slept)
endif
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2281,
/**/
2280,
/**/
Expand Down

0 comments on commit 0426bae

Please sign in to comment.