summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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()