test/functional: clean up according to luacheck (part 1)

This commit is contained in:
Marco Hinz
2015-11-17 22:44:00 +01:00
parent 32ecd75a16
commit 4a69e55f39
51 changed files with 115 additions and 137 deletions

View File

@@ -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)