Merge branch 'truncation' into webcrypto
This commit is contained in:
commit
e77eb1de13
|
@ -0,0 +1,15 @@
|
||||||
|
'use strict';
|
||||||
|
var common = require('../common');
|
||||||
|
|
||||||
|
describe('Compression', function () {
|
||||||
|
it('does not truncate messages', function () {
|
||||||
|
var message = fs.readFileSync('test/compression-sample.txt', 'utf8');
|
||||||
|
assert.strictEqual(
|
||||||
|
message,
|
||||||
|
Base64.btou( RawDeflate.inflate(
|
||||||
|
RawDeflate.deflate( Base64.utob(message) )
|
||||||
|
) )
|
||||||
|
);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue