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 codebytere committed Jan 29, 2019
1 parent 7e62e98 commit 45d1d03
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 45d1d03

Please sign in to comment.