Skip to content

Commit

Permalink
test: _read not read
Browse files Browse the repository at this point in the history
  • Loading branch information
davedoesdev committed Jul 18, 2022
1 parent b64d481 commit cb6e4d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class RandomStream extends Readable {
this.digest = this.hash.digest('hex');
}
if (this.push(buf)) {
setImmediate(() => this.read());
setImmediate(() => this._read());
}
});
}
Expand Down

0 comments on commit cb6e4d4

Please sign in to comment.