Skip to content

Commit 2a67a49

Browse files
pothamrvagg
authored andcommittedNov 28, 2018
test: replace callback with arrow function
PR-URL: #24531 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 39adfc8 commit 2a67a49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/parallel/test-child-process-kill.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ cat.stdout.on('end', common.mustCall());
2929
cat.stderr.on('data', common.mustNotCall());
3030
cat.stderr.on('end', common.mustCall());
3131

32-
cat.on('exit', common.mustCall(function(code, signal) {
32+
cat.on('exit', common.mustCall((code, signal) => {
3333
assert.strictEqual(code, null);
3434
assert.strictEqual(signal, 'SIGTERM');
3535
}));

0 commit comments

Comments
 (0)