Skip to content
This repository has been archived by the owner on Feb 21, 2018. It is now read-only.

Commit

Permalink
remove logs from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Apr 12, 2016
1 parent e3c88a0 commit 6b24516
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions test/test-zlib-dictionary.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})
Expand All @@ -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
})

Expand All @@ -103,7 +85,6 @@ describe('zlib - dictionary', function () {

deflate.write(input)
deflate.flush(function () {
console.log('flushing')
deflate.reset()
doneReset = true
deflate.write(input)
Expand Down

0 comments on commit 6b24516

Please sign in to comment.