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 rvagg committed Nov 28, 2018
1 parent a1254a3 commit 7b0292a
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 7b0292a

Please sign in to comment.