Skip to content

Commit 9ac619f

Browse files
committed
Don't test mutable.SortedMap, as it's not on 2.11
1 parent 8db6fdc commit 9ac619f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/scala/scala/collection/generic/SortedTest.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class SortedTest {
4040
val s3 = st.rangeUntil(x)
4141
assertEquals(s3: m.SortedSet[Int], st.until(x))
4242
}
43+
/* 2.11 doesn't have a mutable.SortedMap
4344
val mp = m.SortedMap("" -> 0, "ds" -> -3, "-??" -> 13, "Df" -> 33, "d!" -> -32)
4445
for (x <- List("", "-", "@", "aa", "D", "d")) {
4546
val m1 = mp.rangeFrom(x)
@@ -49,5 +50,6 @@ class SortedTest {
4950
val m3 = mp.rangeUntil(x)
5051
assertEquals(m3: m.SortedMap[String, Int], mp.until(x))
5152
}
53+
*/
5254
}
5355
}

0 commit comments

Comments
 (0)