From 6bce0416897cf4f0f1e4821307449ae4dc816638 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 --- 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()