Update to a working version of Scalariform

This commit is contained in:
Björn Antonsson 2016-06-02 14:06:57 +02:00
parent cae070bd93
commit c66ce62d63
616 changed files with 5966 additions and 5436 deletions

View file

@ -21,7 +21,7 @@ class FusingSpec extends AkkaSpec {
implicit val materializer = ActorMaterializer()
def graph(async: Boolean) =
Source.unfold(1)(x Some(x -> x)).filter(_ % 2 == 1)
Source.unfold(1)(x Some(x x)).filter(_ % 2 == 1)
.alsoTo(Flow[Int].fold(0)(_ + _).to(Sink.head.named("otherSink")).addAttributes(if (async) Attributes.asyncBoundary else Attributes.none))
.via(Flow[Int].fold(1)(_ + _).named("mainSink"))