From 1833782bb130259f49a3c8917c725dd68d4c4980 Mon Sep 17 00:00:00 2001 From: Pushkal B Date: Sun, 10 Feb 2019 15:58:38 +0530 Subject: 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(-) (limited to 'test') 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() -- cgit v1.2.3