stream: remove extra printStackTrace

This commit is contained in:
Johannes Rudolph 2020-02-04 11:16:34 +01:00
parent 1fbd1d338f
commit a01dfa6201
No known key found for this signature in database
GPG key ID: 52AF1C9ABD77E6E5

View file

@ -281,7 +281,6 @@ class FlowSplitWhenSpec extends StreamSpec("""
val future = probe.requestNext()
val ex = the[IllegalStateException] thrownBy Await.result(future, 3.seconds)
ex.getMessage should ===("Substream Source(SplitSource) cannot be materialized more than once")
ex.printStackTrace
ex.getStackTrace.exists(_.getClassName contains "FlowSplitWhenSpec") shouldBe true
probe.cancel()
}