Collection tests: format and fix usages of deprecated symbols.

This commit is contained in:
Ilya Ryzhenkov
2015-01-12 19:24:18 +03:00
parent 5a77a70710
commit 9b04f57a25
14 changed files with 198 additions and 201 deletions
@@ -12,10 +12,9 @@ class ListSpecificTest {
}
Test fun tail() {
val data = arrayListOf("foo", "bar", "whatnot")
val data = listOf("foo", "bar", "whatnot")
val actual = data.drop(1)
val expected = arrayListOf("bar", "whatnot")
assertEquals(expected, actual)
assertEquals(listOf("bar", "whatnot"), actual)
}
Test fun slice() {