closes #2019: Use parentheses for arity-0 methods which are not referentially transparent

This commit is contained in:
Heiko Seeberger 2012-04-24 16:38:21 +02:00
parent 1f30be1f87
commit 8dbfbbe966
40 changed files with 110 additions and 110 deletions

View file

@ -112,7 +112,7 @@ class FaultHandlingDocSpec extends AkkaSpec with ImplicitSender {
watch(child) // have testActor watch child
child ! new IllegalArgumentException // break it
expectMsg(Terminated(child))
child.isTerminated must be(true)
child.isTerminated() must be(true)
//#stop
}
EventFilter[Exception]("CRASH", occurrences = 4) intercept {
@ -147,4 +147,4 @@ class FaultHandlingDocSpec extends AkkaSpec with ImplicitSender {
}
}
}
//#testkit
//#testkit