From 6b2451647b809017e53d14f2b95216df22f7dd95 Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Tue, 12 Apr 2016 22:49:16 +0200 Subject: [PATCH] remove logs from tests --- test/test-zlib-dictionary.js | 19 ------------------- 1 file changed, 19 deletions(-) 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)