Add missing import to the Inbox example (#26026)
* Add missing import to the Inbox example
This commit is contained in:
parent
00d869724a
commit
a8d37f5d28
1 changed files with 2 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue