From 3537b57f3e6cdf385f0df44dd2a03f1a1ee06b09 Mon Sep 17 00:00:00 2001 From: isaacs Date: Thu, 14 Mar 2013 16:18:42 -0700 Subject: [PATCH] test: No need for kicking in streams2 test This was necessary when we weren't auto-starting when a 'readable' listener is added. --- test/simple/test-stream2-set-encoding.js | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/test/simple/test-stream2-set-encoding.js b/test/simple/test-stream2-set-encoding.js index 931cf48f51..5d2c32a2d0 100644 --- a/test/simple/test-stream2-set-encoding.js +++ b/test/simple/test-stream2-set-encoding.js @@ -122,9 +122,6 @@ test('setEncoding utf8', function(t) { t.same(out, expect); t.end(); }); - - // just kick it off. - tr.emit('readable'); }); @@ -164,9 +161,6 @@ test('setEncoding hex', function(t) { t.same(out, expect); t.end(); }); - - // just kick it off. - tr.emit('readable'); }); test('setEncoding hex with read(13)', function(t) { @@ -203,9 +197,6 @@ test('setEncoding hex with read(13)', function(t) { t.same(out, expect); t.end(); }); - - // just kick it off. - tr.emit('readable'); }); test('setEncoding base64', function(t) { @@ -238,9 +229,6 @@ test('setEncoding base64', function(t) { t.same(out, expect); t.end(); }); - - // just kick it off. - tr.emit('readable'); }); test('encoding: utf8', function(t) { @@ -268,9 +256,6 @@ test('encoding: utf8', function(t) { t.same(out, expect); t.end(); }); - - // just kick it off. - tr.emit('readable'); }); @@ -309,9 +294,6 @@ test('encoding: hex', function(t) { t.same(out, expect); t.end(); }); - - // just kick it off. - tr.emit('readable'); }); test('encoding: hex with read(13)', function(t) { @@ -345,9 +327,6 @@ test('encoding: hex with read(13)', function(t) { t.same(out, expect); t.end(); }); - - // just kick it off. - tr.emit('readable'); }); test('encoding: base64', function(t) { @@ -379,7 +358,4 @@ test('encoding: base64', function(t) { t.same(out, expect); t.end(); }); - - // just kick it off. - tr.emit('readable'); });