Lines Matching refs:zlib
5 const zlib = require('zlib'); constant
7 assert.strictEqual(zlib.constants.Z_OK, 0,
10 `got ${zlib.constants.Z_OK}`,
12 zlib.constants.Z_OK = 1;
13 assert.strictEqual(zlib.constants.Z_OK, 0,
16 `Expected to get 0, got ${zlib.constants.Z_OK}`,
19 assert.strictEqual(zlib.codes.Z_OK, 0,
20 `Expected Z_OK to be 0; got ${zlib.codes.Z_OK}`);
21 zlib.codes.Z_OK = 1;
22 assert.strictEqual(zlib.codes.Z_OK, 0,
25 `Expected to get 0, got ${zlib.codes.Z_OK}`,
27 zlib.codes = { Z_OK: 1 };
28 assert.strictEqual(zlib.codes.Z_OK, 0,
31 `Expected to get 0, got ${zlib.codes.Z_OK}`,
34 assert.ok(Object.isFrozen(zlib.codes),
37 `returned ${Object.isFrozen(zlib.codes)}`,