aboutsummaryrefslogtreecommitdiff
path: root/test/functional/shell/viml_system_spec.lua
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2015-11-23 13:58:35 +0100
committerMarco Hinz <mh.codebro@gmail.com>2015-11-23 13:58:35 +0100
commit369c1fdb259daf4f305ada8744e0564250480398 (patch)
treee61dc677cf85faa79a92814cbdadb63de7477635 /test/functional/shell/viml_system_spec.lua
parent97cee2c2e39888b33a546ba5ffe37c510740c3a5 (diff)
parentd9fbc1865bf5237235e96ae8822326faa84ff9fc (diff)
downloadrneovim-369c1fdb259daf4f305ada8744e0564250480398.tar.gz
rneovim-369c1fdb259daf4f305ada8744e0564250480398.tar.bz2
rneovim-369c1fdb259daf4f305ada8744e0564250480398.zip
Merge PR #3687 'Add luacheck for linting tests'
Diffstat (limited to 'test/functional/shell/viml_system_spec.lua')
-rw-r--r--test/functional/shell/viml_system_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/shell/viml_system_spec.lua b/test/functional/shell/viml_system_spec.lua
index 4985c24aec..00b16e9158 100644
--- a/test/functional/shell/viml_system_spec.lua
+++ b/test/functional/shell/viml_system_spec.lua
@@ -133,7 +133,7 @@ describe('system()', function()
-- write more than 1mb of data, which should be enough to overcome
-- the os buffer limit and force multiple event loop iterations to write
-- everything
- for i = 1, 0xffff do
+ for _ = 1, 0xffff do
input[#input + 1] = '01234567890ABCDEFabcdef'
end
input = table.concat(input, '\n')
@@ -299,7 +299,7 @@ describe('systemlist()', function()
describe('passing a lot of input', function()
it('returns the program output', function()
local input = {}
- for i = 1, 0xffff do
+ for _ = 1, 0xffff do
input[#input + 1] = '01234567890ABCDEFabcdef'
end
nvim('set_var', 'input', input)