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

This commit is contained in:
Marco Hinz
2015-11-17 23:31:22 +01:00
parent 4a69e55f39
commit d9fbc1865b
49 changed files with 121 additions and 125 deletions

View File

@@ -19,7 +19,7 @@ describe("update_menu notification", function()
screen:detach()
end)
function expect_sent(expected)
local function expect_sent(expected)
screen:wait(function()
if screen.update_menu ~= expected then
if expected then