summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPushkal B <pushkalb123@gmail.com>2019-02-10 15:58:38 +0530
committerAnna Henningsen <anna@addaleax.net>2019-02-14 00:06:05 +0100
commit1833782bb130259f49a3c8917c725dd68d4c4980 (patch)
tree099902deca0f2f6517f1a69480e8090ac5ff1cbc
parent2b090c1bd09b7dfff2a329717154b25ba6a786c2 (diff)
downloadandroid-node-v8-1833782bb130259f49a3c8917c725dd68d4c4980.tar.gz
android-node-v8-1833782bb130259f49a3c8917c725dd68d4c4980.tar.bz2
android-node-v8-1833782bb130259f49a3c8917c725dd68d4c4980.zip
test: replaced anonymous fn with arrow syntax
PR-URL: https://github.com/nodejs/node/pull/26029 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
-rw-r--r--test/addons/async-hooks-id/test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/addons/async-hooks-id/test.js b/test/addons/async-hooks-id/test.js
index e6c3cf612c..c6ce366c5d 100644
--- a/test/addons/async-hooks-id/test.js
+++ b/test/addons/async-hooks-id/test.js
@@ -14,7 +14,7 @@ assert.strictEqual(
async_hooks.triggerAsyncId()
);
-process.nextTick(common.mustCall(function() {
+process.nextTick(common.mustCall(() => {
assert.strictEqual(
binding.getExecutionAsyncId(),
async_hooks.executionAsyncId()