Skip to content

Commit

Permalink
fix lint and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
varshith257 committed Jun 13, 2024
1 parent 24e5f69 commit fe2f035
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ object ZPipelineSpec extends ZIOBaseSpec {
for {
_ <- ZIO.debug("start")
_ <- ZPipeline
.mapZIOPar(2) { (i:Int) =>
.mapZIOPar(2) { i:Int =>
processElement(i)
}
.apply(ZStream.iterate[Int](0)(_ + 1))
.runDrain
.zipParLeft(
ZIO.debug("----").delay(2.seconds).forever
ZIO.debug("----").delay(2.seconds).repeatN(5)
)
} yield assertCompletes
}
Expand All @@ -69,13 +69,13 @@ object ZPipelineSpec extends ZIOBaseSpec {
for {
_ <- ZIO.debug("start")
_ <- ZPipeline
.mapZIOParUnordered(2) { (i:Int) =>
.mapZIOParUnordered(2) { i:Int =>
processElement(i)
}
.apply(ZStream.iterate[Int](0)(_ + 1))
.runDrain
.zipParLeft(
ZIO.debug("----").delay(2.seconds).forever
ZIO.debug("----").delay(2.seconds).repeatN(5)
)
} yield assertCompletes
}
Expand Down

0 comments on commit fe2f035

Please sign in to comment.