0
0
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:
Bram Moolenaar 2016-02-07 21:44:49 +01:00
parent 7a84dbe6be
commit 74f5e65bcc
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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,
/**/ /**/