blob: 98f34b38bed850938c75bbc3d51b6f33556c5972 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
'use strict';
require('../common');
const assert = require('assert');
const { Gunzip } = require('zlib');
const gunzip = new Gunzip({ objectMode: true });
assert.throws(
() => gunzip.write({}),
TypeError
);
|