scalatest/scalatest — pull request #6 by cheeseng (2013-04-15 07:48:20+00:00)
Title: Improved isInstanceOf checks in tests for contain matchers.

def isInstanceOfA(b: Any) = b.isInstanceOf[(Int, String)]

changed to:-

def isInstanceOfA(b: Any) =
b match {
case (_: Int, _: String) => true
case _ => false
}