We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6413524 commit 3d64c9eCopy full SHA for 3d64c9e
1 file changed
test/parallel/test-stream3-pause-then-read.js
@@ -108,7 +108,7 @@ function pipeLittle() {
108
console.error('pipe a little');
109
const w = new Writable();
110
let written = 0;
111
- w.on('finish', function() {
+ w.on('finish', () => {
112
assert.strictEqual(written, 200);
113
setImmediate(read1234);
114
});
@@ -160,7 +160,7 @@ function pipe() {
160
written += chunk.length;
161
cb();
162
};
163
164
console.error('written', written, totalPushed);
165
assert.strictEqual(written, expectEndingData);
166
assert.strictEqual(totalPushed, expectTotalData);
0 commit comments