We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d66310 commit d5543eaCopy full SHA for d5543ea
test/parallel/test-zlib-invalid-input.js
@@ -43,7 +43,7 @@ const unzips = [
43
44
nonStringInputs.forEach(common.mustCall((input) => {
45
// zlib.gunzip should not throw an error when called with bad input.
46
- zlib.gunzip(input, function(err, buffer) {
+ zlib.gunzip(input, (err, buffer) => {
47
// zlib.gunzip should pass the error to the callback.
48
assert.ok(err);
49
});
0 commit comments