summaryrefslogtreecommitdiff
path: root/test/async-hooks
diff options
context:
space:
mode:
authorMohd Maqbool Alam <alam.mohdmaqbool@gmail.com>2017-08-22 06:24:17 +0530
committerJames M Snell <jasnell@gmail.com>2017-08-24 15:29:22 -0700
commit9fc58afa6d0dcfdbdd794a80654bd24d69c0359e (patch)
tree5e9194651c0b1b4cf9d356b9f94cb4d54928fbb0 /test/async-hooks
parentbe4c9847472f0b6de1d86a3e77632d504176ba8e (diff)
downloadandroid-node-v8-9fc58afa6d0dcfdbdd794a80654bd24d69c0359e.tar.gz
android-node-v8-9fc58afa6d0dcfdbdd794a80654bd24d69c0359e.tar.bz2
android-node-v8-9fc58afa6d0dcfdbdd794a80654bd24d69c0359e.zip
test: remove unused function args
PR-URL: https://github.com/nodejs/node/pull/14971 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: David Cai <davidcai1993@yahoo.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/async-hooks')
-rw-r--r--test/async-hooks/test-disable-in-init.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/async-hooks/test-disable-in-init.js b/test/async-hooks/test-disable-in-init.js
index 21588bf504..b7ab31e6d9 100644
--- a/test/async-hooks/test-disable-in-init.js
+++ b/test/async-hooks/test-disable-in-init.js
@@ -7,7 +7,7 @@ const fs = require('fs');
let nestedCall = false;
async_hooks.createHook({
- init: common.mustCall(function(id, type) {
+ init: common.mustCall(function() {
nestedHook.disable();
if (!nestedCall) {
nestedCall = true;