diff --git a/test/parallel/test-child-process-kill.js b/test/parallel/test-child-process-kill.js index 6f986c0ffa932f..00aab44dd1318d 100644 --- a/test/parallel/test-child-process-kill.js +++ b/test/parallel/test-child-process-kill.js @@ -29,7 +29,7 @@ cat.stdout.on('end', common.mustCall()); cat.stderr.on('data', common.mustNotCall()); cat.stderr.on('end', common.mustCall()); -cat.on('exit', common.mustCall(function(code, signal) { +cat.on('exit', common.mustCall((code, signal) => { assert.strictEqual(code, null); assert.strictEqual(signal, 'SIGTERM'); }));