Skip to content

Commit b426a78

Browse files
committed
test: remove redundant finished call
1 parent 56e4193 commit b426a78

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
const {
22
PassThrough,
33
Transform,
4-
finished,
54
pipeline,
65
} = require('readable-stream');
76
const test = require('tape');
@@ -132,7 +131,6 @@ function bufferToEnd(stream, callback) {
132131
callback(err, results);
133132
}
134133
stream.prependListener('close', onFinish);
135-
finished(stream, onFinish);
136134
stream.on('data', (chunk) => {
137135
results.push(chunk);
138136
});

0 commit comments

Comments
 (0)