Fix code example in TestKit docs.

This commit is contained in:
Dale Wijnand 2015-02-03 11:40:46 +00:00
parent 953a316563
commit abdb9e1f2d

View file

@ -702,9 +702,9 @@ trait TestKitBase {
* class Test extends TestKit(ActorSystem()) {
* try {
*
* val test = system.actorOf(Props[SomeActor]
* val test = system.actorOf(Props[SomeActor])
*
* within (1 second) {
* within (1.second) {
* test ! SomeWork
* expectMsg(Result1) // bounded to 1 second
* expectMsg(Result2) // bounded to the remainder of the 1 second