Skip to content

Commit

Permalink
test: favor arrow function in callback
Browse files Browse the repository at this point in the history
PR-URL: #24542
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
  • Loading branch information
kotAPI authored and targos committed Nov 24, 2018
1 parent 1c6faae commit 87dc362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-zlib-close-after-write.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
const common = require('../common');
const zlib = require('zlib');

zlib.gzip('hello', common.mustCall(function(err, out) {
zlib.gzip('hello', common.mustCall((err, out) => {
const unzip = zlib.createGunzip();
unzip.write(out);
unzip.close(common.mustCall());
Expand Down

0 comments on commit 87dc362

Please sign in to comment.