Skip to content

Commit 2f13cdd

Browse files
committed
fixup: test
1 parent 2c720a1 commit 2f13cdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-stream2-compatibility.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class TestReader extends R {
4444
}
4545

4646
const reader = new TestReader();
47-
setImmediate(function() {
47+
process.nextTick(function() {
4848
assert.strictEqual(ondataCalled, 1);
4949
console.log('ok');
5050
reader.push(null);

0 commit comments

Comments
 (0)