diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-01-31 22:27:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-31 22:27:12 +0100 |
commit | ada82f3482ffab1d8be7e79255cc018c30f09fab (patch) | |
tree | 0203b34b491f39c531fadfe70206447d0b19b479 /test/functional/eval/timer_spec.lua | |
parent | 894f6bee54e80811f95b8767327d39ab277a4866 (diff) | |
parent | a494910aa1fde9b51aad0af26609b434e2782e78 (diff) | |
download | rneovim-ada82f3482ffab1d8be7e79255cc018c30f09fab.tar.gz rneovim-ada82f3482ffab1d8be7e79255cc018c30f09fab.tar.bz2 rneovim-ada82f3482ffab1d8be7e79255cc018c30f09fab.zip |
Merge #9565 from justinmk/test
Diffstat (limited to 'test/functional/eval/timer_spec.lua')
-rw-r--r-- | test/functional/eval/timer_spec.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/eval/timer_spec.lua b/test/functional/eval/timer_spec.lua index ce0e24d8d7..14f3c29fb7 100644 --- a/test/functional/eval/timer_spec.lua +++ b/test/functional/eval/timer_spec.lua @@ -145,8 +145,9 @@ describe('timers', function() local count2 = eval("g:val") -- when count is eval:ed after timer_stop this should be non-racy eq(count, count2) - assert(3 <= count and count <= 7, - 'expected (3 <= count <= 7), got: '..tostring(count)) + assert((3 <= count and count <= load_adjust(7)), + string.format('expected (3 <= count <= %s), got: %s', + load_adjust(7), tostring(count))) end) it('can be stopped from the handler', function() |