From cb86357d221409e177383af4c2946930bf8e7f4d Mon Sep 17 00:00:00 2001 From: Pushkal B Date: Sun, 10 Feb 2019 15:58:38 +0530 Subject: [PATCH] test: replaced anonymous fn with arrow syntax PR-URL: https://github.com/nodejs/node/pull/26029 Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: James M Snell --- test/addons/async-hooks-id/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/addons/async-hooks-id/test.js b/test/addons/async-hooks-id/test.js index e6c3cf612cacd5..c6ce366c5de756 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()