mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
patch 7.4.1287
Problem: Channel test fails. Solution: Use reltimefloat().
This commit is contained in:
parent
7a84dbe6be
commit
74f5e65bcc
@ -187,7 +187,7 @@ func Test_connect_waittime()
|
|||||||
call ch_close(handle)
|
call ch_close(handle)
|
||||||
else
|
else
|
||||||
let elapsed = reltime(start)
|
let elapsed = reltime(start)
|
||||||
call assert_true(elapsed < 1.0)
|
call assert_true(reltimefloat(elapsed) < 1.0)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let start = reltime()
|
let start = reltime()
|
||||||
@ -198,6 +198,6 @@ func Test_connect_waittime()
|
|||||||
else
|
else
|
||||||
" Failed connection doesn't wait the full time.
|
" Failed connection doesn't wait the full time.
|
||||||
let elapsed = reltime(start)
|
let elapsed = reltime(start)
|
||||||
call assert_true(elapsed < 1.0)
|
call assert_true(reltimefloat(elapsed) < 1.0)
|
||||||
endif
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
@ -747,6 +747,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1287,
|
||||||
/**/
|
/**/
|
||||||
1286,
|
1286,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user