mirror of https://github.com/nodejs/node.git
test: No need for kicking in streams2 test
This was necessary when we weren't auto-starting when a 'readable' listener is added.pull/24507/merge
parent
e8f80bf479
commit
3537b57f3e
|
@ -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');
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue