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

@@ -95,13 +95,13 @@ describe('server -> client', function()
eq('notified!', eval('rpcrequest('..cid..', "notify")'))
end
local function on_request(method, args)
local function on_request(method)
eq('notify', method)
eq(1, eval('rpcnotify('..cid..', "notification")'))
return 'notified!'
end
local function on_notification(method, args)
local function on_notification(method)
eq('notification', method)
if notified == expected then
stop()