Skip to content

Commit

Permalink
=htc remove useless declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
jrudolph authored and ktoso committed Mar 15, 2017
1 parent 606a423 commit ad7fabf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions akka-http-core/src/test/scala/akka/stream/testkit/Utils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ object Utils {

def assertAllStagesStopped[T](block: T)(implicit materializer: Materializer): T = {
val impl = materializer.asInstanceOf[ActorMaterializerImpl] // refined type, will never fail
val supervisor = impl.supervisor // will fail here instead
val system = impl.system
val probe = TestProbe()(impl.system)
probe.send(impl.supervisor, StreamSupervisor.StopChildren)
probe.expectMsg(StreamSupervisor.StoppedChildren)
Expand Down

0 comments on commit ad7fabf

Please sign in to comment.