Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: changed function to arrow function
Convert callback functions that are anonymous
to arrow functions for better readability.
  • Loading branch information
sagar-jadhav authored and juanarbol committed Jun 6, 2020
commit d126e5767f60b739017a7fc90a2a94f0ccb1ab83
4 changes: 1 addition & 3 deletions test/parallel/test-util-promisify.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,7 @@ const stat = promisify(fs.stat);

o.fn = fn;

o.fn().then(common.mustCall(function(val) {
assert(val);
}));
o.fn().then(common.mustCall((val) => assert(val)));
}

{
Expand Down