test: replace callback with arrow function

PR-URL: https://github.com/nodejs/node/pull/24531
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
potham authored and Shelley Vohr committed 2019-01-28 23:11:39 -08:00
1 parent af6de291d7
commit c65063d710
1 file changed
+1 -1
+1 -1
View File
@@ -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');
}));