Skip to content

Commit

Permalink
test: replaced anonymous fn with arrow syntax
Browse files Browse the repository at this point in the history
PR-URL: #26029
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
pushkalb123 authored and targos committed Feb 14, 2019
1 parent 64cc234 commit cb86357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/addons/async-hooks-id/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit cb86357

Please sign in to comment.