1 |
|
2 |
|
3 | var pull = require('pull-stream')
|
4 | var cat = require('../')
|
5 |
|
6 | require('tape')('cat', function (t) {
|
7 |
|
8 | cat([pull.values([1,2,3]), pull.values([4,5,6])])
|
9 | .pipe(pull.collect(function (err, ary) {
|
10 | console.log(err, ary)
|
11 | t.notOk(err)
|
12 | t.deepEqual(ary, [1,2,3,4,5,6])
|
13 | t.end()
|
14 | }))
|
15 |
|
16 | })
|