aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/output_spec.lua
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-08-27 13:04:28 +0200
committerDaniel Hahler <git@thequod.de>2019-08-30 07:12:46 +0200
commitbf85023005f01657b78d5279e7c4843781254e46 (patch)
treed3769d9dbefc8a73fbb7c79476e122eb630fd114 /test/functional/ui/output_spec.lua
parentb3ab7ba1d67955748d87445cfb67412e459f23f5 (diff)
downloadrneovim-bf85023005f01657b78d5279e7c4843781254e46.tar.gz
rneovim-bf85023005f01657b78d5279e7c4843781254e46.tar.bz2
rneovim-bf85023005f01657b78d5279e7c4843781254e46.zip
shell-test: remove REP_NODELAY, less delay with REP
REP_NODELAY was added because REP delayed too much. This changes REP to only add a delay on every 100th line instead. This helps to cover the additional pulse steps with out_data_decide_throttle, which would have required to change REP_NODELAY anyway.
Diffstat (limited to 'test/functional/ui/output_spec.lua')
-rw-r--r--test/functional/ui/output_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/ui/output_spec.lua b/test/functional/ui/output_spec.lua
index 4a0e7ccad0..139ef5964e 100644
--- a/test/functional/ui/output_spec.lua
+++ b/test/functional/ui/output_spec.lua
@@ -50,7 +50,7 @@ describe("shell command :!", function()
end)
it("throttles shell-command output greater than ~10KB", function()
- child_session.feed_data(":!"..nvim_dir.."/shell-test REP_NODELAY 30001 foo\n")
+ child_session.feed_data(":!"..nvim_dir.."/shell-test REP 30001 foo\n")
-- If we observe any line starting with a dot, then throttling occurred.
-- Avoid false failure on slow systems.