diff options
author | Ishan Aditya <ishanaditya@gmail.com> | 2016-09-17 14:39:36 +0200 |
---|---|---|
committer | Michael Dawson <michael_dawson@ca.ibm.com> | 2016-09-20 10:54:56 -0400 |
commit | 7a46554dcf3511c6c4343564a5a900b0f12f480d (patch) | |
tree | 2133abf810e3a3948d1df312683abe6eb86a1d7a /test/parallel/test-zlib-flush.js | |
parent | d59074c1cbf7c03f90bb5d850036f6153fe9464d (diff) | |
download | node-new-7a46554dcf3511c6c4343564a5a900b0f12f480d.tar.gz |
test: var variables to const in zlib
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>
Diffstat (limited to 'test/parallel/test-zlib-flush.js')
-rw-r--r-- | test/parallel/test-zlib-flush.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/parallel/test-zlib-flush.js b/test/parallel/test-zlib-flush.js index 059f07018c..7f0021434f 100644 --- a/test/parallel/test-zlib-flush.js +++ b/test/parallel/test-zlib-flush.js @@ -1,9 +1,9 @@ 'use strict'; -var common = require('../common'); -var assert = require('assert'); -var zlib = require('zlib'); -var path = require('path'); -var fs = require('fs'); +const common = require('../common'); +const assert = require('assert'); +const zlib = require('zlib'); +const path = require('path'); +const fs = require('fs'); const file = fs.readFileSync(path.resolve(common.fixturesDir, 'person.jpg')); const chunkSize = 16; |