Add missing import to the Inbox example (#26026)

* Add missing import to the Inbox example
This commit is contained in:
Jakub Czuchnowski 2018-12-04 09:51:44 +01:00 committed by Christopher Batey
parent 00d869724a
commit a8d37f5d28

View file

@ -35,6 +35,8 @@ class ActorDSLSpec extends AkkaSpec {
"function as implicit sender" in {
//#inbox
import akka.actor.ActorDSL._
implicit val i = inbox()
echo ! "hello"
i.receive() should ===("hello")