aboutsummaryrefslogtreecommitdiff
path: root/test/simple/test-stream2-compatibility.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/simple/test-stream2-compatibility.js')
-rw-r--r--test/simple/test-stream2-compatibility.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/simple/test-stream2-compatibility.js b/test/simple/test-stream2-compatibility.js
index fa58b03c72..2b98c1fa8f 100644
--- a/test/simple/test-stream2-compatibility.js
+++ b/test/simple/test-stream2-compatibility.js
@@ -47,6 +47,4 @@ TestReader.prototype._read = function(n) {
};
var reader = new TestReader();
-process.nextTick(function() {
- assert.equal(ondataCalled, 1);
-});
+assert.equal(ondataCalled, 1);