port onto SBT-0.12 branch

This commit is contained in:
Roland 2012-08-20 15:21:44 +02:00
parent 8fe8fc5512
commit a15900a591
23 changed files with 99 additions and 81 deletions

View file

@ -4,6 +4,7 @@
package docs.testkit
import language.postfixOps
import scala.util.Success
//#imports-test-probe
import akka.testkit.TestProbe
@ -129,7 +130,7 @@ class TestkitDocSpec extends AkkaSpec with DefaultTimeout with ImplicitSender {
// hypothetical message stimulating a '42' answer
val future = actorRef ? Say42
val result = future.value.get match {
case Right(x: Int) x
case Success(x: Int) x
}
result must be(42)
//#test-behavior