mirror of https://github.com/lukechilds/node.git
Browse Source
Changes in test-zlib-from-string is because var->const pushed us over the max char limit per line. PR-URL: https://github.com/nodejs/node/pull/8627 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>v6.x
Ishan Aditya
8 years ago
committed by
Jeremiah Senkpiel
14 changed files with 92 additions and 90 deletions
@ -1,9 +1,9 @@ |
|||||
'use strict'; |
'use strict'; |
||||
const common = require('../common'); |
const common = require('../common'); |
||||
var zlib = require('zlib'); |
const zlib = require('zlib'); |
||||
|
|
||||
zlib.gzip('hello', common.mustCall(function(err, out) { |
zlib.gzip('hello', common.mustCall(function(err, out) { |
||||
var unzip = zlib.createGunzip(); |
const unzip = zlib.createGunzip(); |
||||
unzip.write(out); |
unzip.write(out); |
||||
unzip.close(common.mustCall(function() {})); |
unzip.close(common.mustCall(function() {})); |
||||
})); |
})); |
||||
|
Loading…
Reference in new issue