Refactoring the use of !! to ?+.get for Akka internal code
This commit is contained in:
parent
6ddee70e0b
commit
9c1a50ba2c
11 changed files with 34 additions and 34 deletions
|
|
@ -60,7 +60,7 @@ class PinnedActorSpec extends JUnitSuite {
|
|||
def shouldSendReceiveException = {
|
||||
val actor = actorOf[TestActor].start()
|
||||
try {
|
||||
actor !! "Failure"
|
||||
(actor ? "Failure").get
|
||||
fail("Should have thrown an exception")
|
||||
} catch {
|
||||
case e ⇒
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue