diff --git a/test/parallel/test-util-promisify.js b/test/parallel/test-util-promisify.js index c18f454d2f77ef..cbbe8983fdf105 100644 --- a/test/parallel/test-util-promisify.js +++ b/test/parallel/test-util-promisify.js @@ -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))); } {