Skip to content

Commit

Permalink
test: favor arrow function in callback
Browse files Browse the repository at this point in the history
PR-URL: nodejs#24542
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
  • Loading branch information
kotAPI authored and Trott committed Nov 22, 2018
1 parent f512f5e commit 21522cb
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 21522cb

Please sign in to comment.