From 4f278e5eaa3daa0d738185c379200246c0202693 Mon Sep 17 00:00:00 2001 From: franciscolopezsancho Date: Mon, 3 May 2021 09:28:31 +0100 Subject: [PATCH] avoiding the superposing of the buttons and the code (#30210) --- .../src/test/scala/docs/stream/StreamTestKitDocSpec.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/akka-docs/src/test/scala/docs/stream/StreamTestKitDocSpec.scala b/akka-docs/src/test/scala/docs/stream/StreamTestKitDocSpec.scala index 8abe845a78..d5becb8189 100644 --- a/akka-docs/src/test/scala/docs/stream/StreamTestKitDocSpec.scala +++ b/akka-docs/src/test/scala/docs/stream/StreamTestKitDocSpec.scala @@ -19,7 +19,8 @@ class StreamTestKitDocSpec extends AkkaSpec { "strict collection" in { //#strict-collection - val sinkUnderTest = Flow[Int].map(_ * 2).toMat(Sink.fold(0)(_ + _))(Keep.right) + val sinkUnderTest = + Flow[Int].map(_ * 2).toMat(Sink.fold(0)(_ + _))(Keep.right) val future = Source(1 to 4).runWith(sinkUnderTest) val result = Await.result(future, 3.seconds)