Skip to content

Commit d5543ea

Browse files
jarthanarvagg
authored andcommitted
test: change callback function to arrow function
PR-URL: #24419 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ouyang Yadong <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 5d66310 commit d5543ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-zlib-invalid-input.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const unzips = [
4343

4444
nonStringInputs.forEach(common.mustCall((input) => {
4545
// zlib.gunzip should not throw an error when called with bad input.
46-
zlib.gunzip(input, function(err, buffer) {
46+
zlib.gunzip(input, (err, buffer) => {
4747
// zlib.gunzip should pass the error to the callback.
4848
assert.ok(err);
4949
});

0 commit comments

Comments
 (0)