Added parens to start
This commit is contained in:
parent
97d4fc8e18
commit
087191f19f
78 changed files with 341 additions and 341 deletions
|
|
@ -46,7 +46,7 @@ class TestActor(queue : BlockingDeque[AnyRef]) extends Actor with FSM[Int, TestA
|
|||
*
|
||||
* <pre>
|
||||
* class Test extends TestKit {
|
||||
* val test = actorOf[SomeActor].start
|
||||
* val test = actorOf[SomeActor].start()
|
||||
*
|
||||
* within (1 second) {
|
||||
* test ! SomeWork
|
||||
|
|
@ -77,7 +77,7 @@ trait TestKit {
|
|||
* ActorRef of the test actor. Access is provided to enable e.g.
|
||||
* registration as message target.
|
||||
*/
|
||||
protected val testActor = actorOf(new TestActor(queue)).start
|
||||
protected val testActor = actorOf(new TestActor(queue)).start()
|
||||
|
||||
/**
|
||||
* Implicit sender reference so that replies are possible for messages sent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue