=pro #3759 Changed to using non-deprecated ScalaTest Matchers

This commit is contained in:
Björn Antonsson 2013-12-17 14:25:56 +01:00
parent b8c7d7badd
commit 003609c9c5
246 changed files with 2822 additions and 2822 deletions

View file

@ -120,11 +120,11 @@ class IODocSpec extends AkkaSpec {
watch(client)
val c1, c2 = expectMsgType[Tcp.Connected]
c1.localAddress must be(c2.remoteAddress)
c2.localAddress must be(c1.remoteAddress)
c1.localAddress should be(c2.remoteAddress)
c2.localAddress should be(c1.remoteAddress)
client ! ByteString("hello")
expectMsgType[ByteString].utf8String must be("hello")
expectMsgType[ByteString].utf8String should be("hello")
client ! "close"
expectMsg("connection closed")