var Flume = require('flumedb')
var FlumelogOffset = require('flumelog-offset')

//var file = '/tmp/test_flumeview-reduce/initial_'+Date.now()+'/log.offset'

require('./')(
function create (file) {
  return Flume(FlumelogOffset(file, 1024, require('flumecodec/json')))
})



@@ -77,10 +77,8 @@
 ')%0A%0A
-//
 var 
@@ -180,20 +180,16 @@
 create (
-file
 ) %7B%0A  re
@@ -224,13 +224,28 @@
 le, 
-1024,
+%7Bblock: 1024, codec:
  req
@@ -271,12 +271,13 @@
 on')
+%7D
 ))%0A%7D)%0A%0A%0A
@@ -276,8 +276,9 @@
 ))%0A%7D)%0A%0A%0A
+%0A

fix test/persistent