diff --git a/lib/zlib/inflate.js b/lib/zlib/inflate.js index 59dbadc..50dc1cc 100644 --- a/lib/zlib/inflate.js +++ b/lib/zlib/inflate.js @@ -907,7 +907,7 @@ function inflate(strm, flush) { bits += 8; } //===// - if ((hold & 0xffff) !== ((hold >> 16) ^ 0xffff)) { + if ((hold & 0xffff) !== ((hold >>> 16) ^ 0xffff)) { strm.msg = 'invalid stored block lengths'; state.mode = BAD; break; diff --git a/test/inflate.js b/test/inflate.js index 4a55624..9a18311 100644 --- a/test/inflate.js +++ b/test/inflate.js @@ -69,7 +69,7 @@ describe('Inflate levels', function () { it('level 1', function(done) { testInflate(samples, { level: 1 }, done); }); - it.skip('level 0', function(done) { + it('level 0', function(done) { testInflate(samples, { level: 0 }, done); }); @@ -134,7 +134,7 @@ describe('Inflate RAW', function () { it('level 1', function(done) { testInflate(samples, { level: 1, raw: true }, done); }); - it.skip('level 0', function(done) { + it('level 0', function(done) { testInflate(samples, { level: 0, raw: true }, done); });