avoiding the superposing of the buttons and the code (#30210)
This commit is contained in:
parent
099e20ec6d
commit
4f278e5eaa
1 changed files with 2 additions and 1 deletions
|
|
@ -19,7 +19,8 @@ class StreamTestKitDocSpec extends AkkaSpec {
|
||||||
|
|
||||||
"strict collection" in {
|
"strict collection" in {
|
||||||
//#strict-collection
|
//#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 future = Source(1 to 4).runWith(sinkUnderTest)
|
||||||
val result = Await.result(future, 3.seconds)
|
val result = Await.result(future, 3.seconds)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue