diff --git a/test/test-zlib-dictionary.js b/test/test-zlib-dictionary.js index 43427fe..fc23a4c 100644 --- a/test/test-zlib-dictionary.js +++ b/test/test-zlib-dictionary.js @@ -45,13 +45,6 @@ describe('zlib - dictionary', function () { output += chunk }) - inflate.on('error', function (err) { - console.log('1', def) - console.log('2', require('zlib').deflateSync(input, {dictionary: spdyDict}).toString('hex')) - console.log('failing') - throw err - }) - deflate.on('end', function () { inflate.end() }) @@ -72,23 +65,12 @@ describe('zlib - dictionary', function () { var inflate = zlib.createInflate({ dictionary: spdyDict }) deflate.on('data', function (chunk) { - console.log('def - sending chunk', chunk.toString('hex')) if (doneReset) { inflate.write(chunk) } }) - deflate.on('error', function (err) { - console.error('def failing', err) - throw err - }) - inflate.on('error', function (err) { - console.error('inf failing', err) - throw err - }) - inflate.on('data', function (chunk) { - console.log('inf - sending chunk', chunk.toString()) output += chunk }) @@ -103,7 +85,6 @@ describe('zlib - dictionary', function () { deflate.write(input) deflate.flush(function () { - console.log('flushing') deflate.reset() doneReset = true deflate.write(input)