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:
parent
2b090c1bd0
commit
1833782bb1
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user