aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/server_requests_spec.lua
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2015-11-17 23:31:22 +0100
committerMarco Hinz <mh.codebro@gmail.com>2015-11-23 13:57:21 +0100
commitd9fbc1865bf5237235e96ae8822326faa84ff9fc (patch)
treee61dc677cf85faa79a92814cbdadb63de7477635 /test/functional/api/server_requests_spec.lua
parent4a69e55f390fcbd5e3d6c88c882c0b921c9b6f87 (diff)
downloadrneovim-d9fbc1865bf5237235e96ae8822326faa84ff9fc.tar.gz
rneovim-d9fbc1865bf5237235e96ae8822326faa84ff9fc.tar.bz2
rneovim-d9fbc1865bf5237235e96ae8822326faa84ff9fc.zip
test/functional: clean up according to luacheck (part 2)
Diffstat (limited to 'test/functional/api/server_requests_spec.lua')
-rw-r--r--test/functional/api/server_requests_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/api/server_requests_spec.lua b/test/functional/api/server_requests_spec.lua
index 4c7122a549..a3ac864f79 100644
--- a/test/functional/api/server_requests_spec.lua
+++ b/test/functional/api/server_requests_spec.lua
@@ -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()