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/ui/screen.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/ui/screen.lua')
-rw-r--r-- | test/functional/ui/screen.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua index c767f9b83a..c8250ec4c1 100644 --- a/test/functional/ui/screen.lua +++ b/test/functional/ui/screen.lua @@ -107,7 +107,7 @@ local helpers = require('test.functional.helpers') local request, run, stop = helpers.request, helpers.run, helpers.stop -local eq, dedent = helpers.eq, helpers.dedent +local dedent = helpers.dedent local Screen = {} Screen.__index = Screen @@ -294,9 +294,9 @@ end function Screen:_handle_resize(width, height) local rows = {} - for i = 1, height do + for _ = 1, height do local cols = {} - for j = 1, width do + for _ = 1, width do table.insert(cols, {text = ' ', attrs = {}}) end table.insert(rows, cols) |