mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
test: use smaller input file for test-zlib.js
PR-URL: https://github.com/nodejs/node/pull/17988 Fixes: https://github.com/nodejs/node/issues/17986 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
This commit is contained in:
1 parent
969c39eb3a
commit
16ef24bccf
1 file changed
+1
-1
@@ -136,7 +136,7 @@ assert.doesNotThrow(() => {
|
||||
}, 'windowsBits set to 8 should follow legacy zlib behavior');
|
||||
|
||||
{
|
||||
const node = fs.createReadStream(process.execPath);
|
||||
const node = fs.createReadStream(fixtures.path('person.jpg'));
|
||||
const raw = [];
|
||||
const reinflated = [];
|
||||
node.on('data', (chunk) => raw.push(chunk));
|
||||
|
||||
Reference in new issue
Block a user