mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 7.4.1287
Problem: Channel test fails. Solution: Use reltimefloat().
This commit is contained in:
@@ -187,7 +187,7 @@ func Test_connect_waittime()
|
||||
call ch_close(handle)
|
||||
else
|
||||
let elapsed = reltime(start)
|
||||
call assert_true(elapsed < 1.0)
|
||||
call assert_true(reltimefloat(elapsed) < 1.0)
|
||||
endif
|
||||
|
||||
let start = reltime()
|
||||
@@ -198,6 +198,6 @@ func Test_connect_waittime()
|
||||
else
|
||||
" Failed connection doesn't wait the full time.
|
||||
let elapsed = reltime(start)
|
||||
call assert_true(elapsed < 1.0)
|
||||
call assert_true(reltimefloat(elapsed) < 1.0)
|
||||
endif
|
||||
endfunc
|
||||
|
Reference in New Issue
Block a user