You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
272 B

var concat = require('../')
var test = require('tape')
test('array stream', function (t) {
t.plan(1)
var arrays = concat({ encoding: 'array' }, function(out) {
t.deepEqual(out, [1,2,3,4,5,6])
})
arrays.write([1,2,3])
arrays.write([4,5,6])
arrays.end()
})