
var hash = require('../')
var pull = require('pull-stream')
require('tape')('abc', function (t) {
pull.values(['a', 'b', 'c'])
  .pipe(hash(function (err, sum) {
    if(err) throw err
    console.log(sum)
    t.equals(sum, 'a9993e364706816aba3e25717850c26c9cd0d89d')
    t.end()
  }))

})

@@ -92,16 +92,24 @@
 n (t) %7B%0A
+pull(%0A  
 pull.val
@@ -132,17 +132,12 @@
 c'%5D)
+,
 %0A  
-.pipe(
 hash
@@ -280,14 +280,15 @@
 d()%0A  %7D)
+%0A
 )%0A%0A%7D)%0A

update to new style