This commit is contained in:
zino
2021-03-02 00:06:38 +01:00
parent 3a8aab0e9a
commit eeb745b013
3567 changed files with 1234741 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
var pipeline = require('../');
var concat = require('concat-stream');
var test = require('tape');
test('empty with no data', function (t) {
t.plan(1);
var stream = pipeline([]);
stream.end();
stream.pipe(concat(function (body) {
t.deepEqual(body.toString(), '');
}));
});