Skip to content

Commit 7b0292a

Browse files
kotAPIrvagg
authored andcommitted
test: favor arrow function in callback
PR-URL: #24542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
1 parent a1254a3 commit 7b0292a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-zlib-close-after-write.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
const common = require('../common');
2424
const zlib = require('zlib');
2525

26-
zlib.gzip('hello', common.mustCall(function(err, out) {
26+
zlib.gzip('hello', common.mustCall((err, out) => {
2727
const unzip = zlib.createGunzip();
2828
unzip.write(out);
2929
unzip.close(common.mustCall());

0 commit comments

Comments
 (0)