git ssb

2+

Dominic / pull-stream



Tree: 6d8777ef49f6fa68005761edf9c8ceee6ba48d16

Files: 6d8777ef49f6fa68005761edf9c8ceee6ba48d16 / test / collect.js

230 bytesRaw
1var pull = require('../')
2var test = require('tape')
3
4test('collect empty', function (t) {
5 pull(
6 pull.empty(),
7 pull.collect(function (err, ary) {
8 t.notOk(err)
9 t.deepEqual(ary, [])
10 t.end()
11 })
12 )
13})
14

Built with git-ssb-web