Provide toMutableList as a replacement for toArrayList.

This commit is contained in:
Ilya Gorbunov
2016-01-22 21:28:34 +03:00
parent a709ba4a6e
commit 90a239e74c
7 changed files with 184 additions and 38 deletions
@@ -79,7 +79,7 @@ class ReversedViewsTest {
}
@test fun testMutableReversedSubList() {
val reversed = (1..10).toArrayList().asReversed()
val reversed = (1..10).toMutableList().asReversed()
assertEquals(listOf(9, 8, 7), reversed.subList(1, 4))
}