Two failing doctests fixed

This commit is contained in:
Johan Andrén 2017-03-09 16:56:34 +01:00 committed by Konrad `ktoso` Malawski
parent 42fdf15d22
commit 0775fb4a56
2 changed files with 3 additions and 3 deletions

View file

@ -44,7 +44,7 @@ class GraphDSLDocSpec extends AkkaSpec {
}
"flow connection errors" in {
intercept[IllegalArgumentException] {
intercept[IllegalStateException] {
//#simple-graph
RunnableGraph.fromGraph(GraphDSL.create() { implicit builder =>
import GraphDSL.Implicits._