diff --git a/test/parallel/test-zlib.js b/test/parallel/test-zlib.js index 438dd9fbb44082..522916e45cf01a 100644 --- a/test/parallel/test-zlib.js +++ b/test/parallel/test-zlib.js @@ -3,6 +3,9 @@ const common = require('../common'); const assert = require('assert'); const zlib = require('zlib'); const path = require('path'); +const fs = require('fs'); +const util = require('util'); +const stream = require('stream'); var zlibPairs = [ [zlib.Deflate, zlib.Inflate], @@ -37,8 +40,6 @@ if (!process.env.PUMMEL) { strategy = [0]; } -const fs = require('fs'); - var testFiles = ['person.jpg', 'elipses.txt', 'empty.txt']; if (process.env.FAST) { @@ -51,9 +52,6 @@ testFiles.forEach(function(file) { tests[file] = fs.readFileSync(path.resolve(common.fixturesDir, file)); }); -const util = require('util'); -const stream = require('stream'); - // stream that saves everything function BufferStream() {