aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-08-14 08:59:06 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-08-14 08:59:06 +0200
commit7668f04392c529421003f39f6bc3f44e07bee469 (patch)
treeb246478a0f532954c0e1f973b3430361e73d7dcd /src
parenta690bf811646c1ef70f6cf767c7f562fd00e3a85 (diff)
downloadrneovim-7668f04392c529421003f39f6bc3f44e07bee469.tar.gz
rneovim-7668f04392c529421003f39f6bc3f44e07bee469.tar.bz2
rneovim-7668f04392c529421003f39f6bc3f44e07bee469.zip
tests: include `timer_start` in duration #10772
This should not make much of a difference, but increases the timeout when `load_factor` is used slightly.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/load.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/load.vim b/src/nvim/testdir/load.vim
index 6369b8f45e..5697ee7304 100644
--- a/src/nvim/testdir/load.vim
+++ b/src/nvim/testdir/load.vim
@@ -6,8 +6,8 @@ function! s:load_factor() abort
for _ in range(5)
let g:val = 0
- call timer_start(timeout, {-> nvim_set_var('val', 1)})
let start = reltime()
+ call timer_start(timeout, {-> nvim_set_var('val', 1)})
while 1
sleep 10m
if g:val == 1