Collection tests: format and fix usages of deprecated symbols.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user