test: enusre arc roundtrips
This commit is contained in:
parent
5794ca384c
commit
ef7a743c60
@ -42,6 +42,7 @@ spec = withApp . describe "File handling" $ do
|
|||||||
|
|
||||||
suppliedContent <- runConduit $ transPipe generalize fileContentContent
|
suppliedContent <- runConduit $ transPipe generalize fileContentContent
|
||||||
.| C.sinkLazy
|
.| C.sinkLazy
|
||||||
|
for_ [1..10] $ \_i -> do
|
||||||
readContent <- runConduit $ sourceFileMinio fileReferenceContentContent
|
readContent <- runConduit $ sourceFileMinio fileReferenceContentContent
|
||||||
.| C.takeE (succ $ olength suppliedContent)
|
.| C.takeE (succ $ olength suppliedContent)
|
||||||
.| C.sinkLazy
|
.| C.sinkLazy
|
||||||
@ -61,6 +62,7 @@ spec = withApp . describe "File handling" $ do
|
|||||||
|
|
||||||
suppliedContent <- runConduit $ transPipe generalize fileContentContent
|
suppliedContent <- runConduit $ transPipe generalize fileContentContent
|
||||||
.| C.sinkLazy
|
.| C.sinkLazy
|
||||||
|
for_ [1..10] $ \_i -> do
|
||||||
readContent <- runDB . runConduit
|
readContent <- runDB . runConduit
|
||||||
$ sourceFileDB fRef'
|
$ sourceFileDB fRef'
|
||||||
.| C.takeE (succ $ olength suppliedContent)
|
.| C.takeE (succ $ olength suppliedContent)
|
||||||
|
|||||||
Reference in New Issue
Block a user