diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-09-01 22:56:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-01 22:56:41 -0700 |
commit | 099445cc07b0154edc6ecd562a28e86c87c0096b (patch) | |
tree | bb539bd3877fc0545b1c7db13039b357477e5758 /test/functional/eval/timer_spec.lua | |
parent | 7bb029eeef65f57d94cef4e4b709e6c3ebefcf08 (diff) | |
parent | ead39d6ce6d1c5e5b6130c6823d071889c207bde (diff) | |
download | rneovim-099445cc07b0154edc6ecd562a28e86c87c0096b.tar.gz rneovim-099445cc07b0154edc6ecd562a28e86c87c0096b.tar.bz2 rneovim-099445cc07b0154edc6ecd562a28e86c87c0096b.zip |
Merge #10804 'CI/OpenBSD: functional tests'
Diffstat (limited to 'test/functional/eval/timer_spec.lua')
-rw-r--r-- | test/functional/eval/timer_spec.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/functional/eval/timer_spec.lua b/test/functional/eval/timer_spec.lua index 48d10e46a9..2ccb9cfbac 100644 --- a/test/functional/eval/timer_spec.lua +++ b/test/functional/eval/timer_spec.lua @@ -192,9 +192,10 @@ describe('timers', function() ]]) command("call timer_start(2, 'MyHandler', {'repeat': 3})") command("call timer_start(4, 'MyHandler2', {'repeat': 2})") - run(nil, nil, nil, load_adjust(30)) - eq(3,eval("g:val")) - eq(2,eval("g:val2")) + retry(nil, nil, function() + eq(3, eval("g:val")) + eq(2, eval("g:val2")) + end) end) it('do not crash when processing events in the handler', function() |