From d69e6ea1551f004f17e23440b89676d1b543ef68 Mon Sep 17 00:00:00 2001 From: potham Date: Wed, 21 Nov 2018 00:36:10 +0530 Subject: [PATCH] test: replace callback function with arrow function --- test/parallel/test-child-process-kill.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); }));