#3018 - Enabling -Xlint and dealing with the situation that occurs

This commit is contained in:
Viktor Klang 2013-03-28 23:45:48 +01:00
parent 88f7e28c6b
commit c883705242
75 changed files with 249 additions and 275 deletions

View file

@ -89,7 +89,7 @@ class ByteStringSpec extends WordSpec with MustMatchers with Checkers {
val (bsAIt, bsBIt) = (a.iterator, b.iterator)
val (vecAIt, vecBIt) = (Vector(a: _*).iterator.buffered, Vector(b: _*).iterator.buffered)
(body(bsAIt, bsBIt) == body(vecAIt, vecBIt)) &&
(!strict || (bsAIt.toSeq, bsBIt.toSeq) == (vecAIt.toSeq, vecBIt.toSeq))
(!strict || (bsAIt.toSeq -> bsBIt.toSeq) == (vecAIt.toSeq -> vecBIt.toSeq))
}
def likeVecBld(body: Builder[Byte, _] Unit): Boolean = {