mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
test/functional: clean up according to luacheck (part 2)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user