=str #16652 Convert 'Working with Graphs' to java
* fixed missing or wrong javadsl
This commit is contained in:
parent
84a5505ca9
commit
ed832ea7a9
6 changed files with 289 additions and 22 deletions
|
|
@ -105,8 +105,8 @@ class StreamPartialFlowGraphDocSpec extends AkkaSpec {
|
|||
}
|
||||
|
||||
val firstPair: Future[(Int, Int)] = pairs.runWith(Sink.head)
|
||||
Await.result(firstPair, 300.millis) should equal(1 → 2)
|
||||
//#source-from-partial-flow-graph
|
||||
Await.result(firstPair, 300.millis) should equal(1 -> 2)
|
||||
}
|
||||
|
||||
"build flow from partial flow graph" in {
|
||||
|
|
@ -140,6 +140,6 @@ class StreamPartialFlowGraphDocSpec extends AkkaSpec {
|
|||
//#flow-from-partial-flow-graph
|
||||
// format: ON
|
||||
|
||||
Await.result(matSink, 300.millis) should equal(1 → "1")
|
||||
Await.result(matSink, 300.millis) should equal(1 -> "1")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue