aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/searchhl_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-07-20 18:07:04 +0200
committerGitHub <noreply@github.com>2019-07-20 18:07:04 +0200
commitb764120ee727bd387fcb495668e6a620266beb39 (patch)
tree4dc45754b55791e2fa65b407efdbc4ff60980632 /test/functional/ui/searchhl_spec.lua
parent02e7ef4978767b50ce797ce95f90117ca9fd1f89 (diff)
downloadrneovim-b764120ee727bd387fcb495668e6a620266beb39.tar.gz
rneovim-b764120ee727bd387fcb495668e6a620266beb39.tar.bz2
rneovim-b764120ee727bd387fcb495668e6a620266beb39.zip
test: shell-test.c: "REP" command: flush, wait 1ms #10552
Typically most shell output is the result of non-trivial work, so it would not blast stdout instantaneously. To more closely simulate that typical scenario, change `shell-test REP` to wait 1 millisecond between iterations.
Diffstat (limited to 'test/functional/ui/searchhl_spec.lua')
-rw-r--r--test/functional/ui/searchhl_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/ui/searchhl_spec.lua b/test/functional/ui/searchhl_spec.lua
index c68a2bad45..9ce26eb788 100644
--- a/test/functional/ui/searchhl_spec.lua
+++ b/test/functional/ui/searchhl_spec.lua
@@ -150,6 +150,7 @@ describe('search highlighting', function()
feed([[:terminal "]]..nvim_dir..[[/shell-test" REP 5000 foo<cr>]])
feed(':file term<CR>')
+ feed('G') -- Follow :terminal output.
feed(':vnew<CR>')
insert([[
foo bar baz