summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/parallel/test-child-process-kill.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-child-process-kill.js b/test/parallel/test-child-process-kill.js
index 6f986c0ffa..00aab44dd1 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');
}));