diff options
author | Marco Hinz <mh.codebro@gmail.com> | 2015-11-17 22:44:00 +0100 |
---|---|---|
committer | Marco Hinz <mh.codebro@gmail.com> | 2015-11-23 13:57:21 +0100 |
commit | 4a69e55f390fcbd5e3d6c88c882c0b921c9b6f87 (patch) | |
tree | 78410a4b75bb518ef5828946c42c75d923aa3d52 /test/functional/shell/viml_system_spec.lua | |
parent | 32ecd75a16371fcfbe0cfc25eacaf041a755ac03 (diff) | |
download | rneovim-4a69e55f390fcbd5e3d6c88c882c0b921c9b6f87.tar.gz rneovim-4a69e55f390fcbd5e3d6c88c882c0b921c9b6f87.tar.bz2 rneovim-4a69e55f390fcbd5e3d6c88c882c0b921c9b6f87.zip |
test/functional: clean up according to luacheck (part 1)
Diffstat (limited to 'test/functional/shell/viml_system_spec.lua')
-rw-r--r-- | test/functional/shell/viml_system_spec.lua | 4 |
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) |