aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/timer_spec.lua
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-09-04 09:59:27 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-09-04 10:00:17 -0400
commitf8e042f73242fe7395c415c611491303df474e3d (patch)
treeb762e35a71d10157e0fefd58bc97804ee0d85fe6 /test/functional/eval/timer_spec.lua
parent96b3dbcea552313919095b73082be018c0530f84 (diff)
downloadrneovim-f8e042f73242fe7395c415c611491303df474e3d.tar.gz
rneovim-f8e042f73242fe7395c415c611491303df474e3d.tar.bz2
rneovim-f8e042f73242fe7395c415c611491303df474e3d.zip
tests: call getchar(1) in timer callback
Test changes from 8.0.1020 and 8.0.1048.
Diffstat (limited to 'test/functional/eval/timer_spec.lua')
-rw-r--r--test/functional/eval/timer_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/eval/timer_spec.lua b/test/functional/eval/timer_spec.lua
index 2dd9968a01..8afc3592cc 100644
--- a/test/functional/eval/timer_spec.lua
+++ b/test/functional/eval/timer_spec.lua
@@ -96,6 +96,7 @@ describe('timers', function()
source([[
func! AddItem(timer)
call nvim_buf_set_lines(0, 2, 2, v:true, ['ITEM 3'])
+ call getchar(1)
redraw
endfunc
call timer_start(200, 'AddItem')