Balance should also be allowed to have just one input

This commit is contained in:
Johan Andrén 2016-01-21 15:06:36 +01:00
parent 26e2dcb857
commit 6ad1eab8e6
3 changed files with 17 additions and 4 deletions

View file

@ -59,7 +59,7 @@ class GraphMergeSpec extends TwoStreamsSetup {
probe.expectComplete()
}
"work with 1-way merge" in {
"work with one-way merge" in {
val result = Source.fromGraph(GraphDSL.create() { implicit b
val merge = b.add(Merge[Int](1))
val source = b.add(Source(1 to 3))