diff options
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) |