Skip to content

Commit cb86357

Browse files
pushkalb123targos
authored andcommitted
test: replaced anonymous fn with arrow syntax
PR-URL: #26029 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 64cc234 commit cb86357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/addons/async-hooks-id/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ assert.strictEqual(
1414
async_hooks.triggerAsyncId()
1515
);
1616

17-
process.nextTick(common.mustCall(function() {
17+
process.nextTick(common.mustCall(() => {
1818
assert.strictEqual(
1919
binding.getExecutionAsyncId(),
2020
async_hooks.executionAsyncId()

0 commit comments

Comments
 (0)