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>
This commit is contained in:
Pushkal B 2019-02-10 15:58:38 +05:30 committed by Anna Henningsen
parent 2b090c1bd0
commit 1833782bb1
No known key found for this signature in database
GPG Key ID: 9C63F3A6CD2AD8F9

View File

@ -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()