Stdlib: enabled test List::withIndices.
This commit is contained in:
@@ -56,9 +56,6 @@ class ListTest {
|
|||||||
assertEquals(data.size(), index)
|
assertEquals(data.size(), index)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
TODO: Crashes JS compiler
|
|
||||||
|
|
||||||
test fun withIndices() {
|
test fun withIndices() {
|
||||||
val data = arrayList("foo", "bar")
|
val data = arrayList("foo", "bar")
|
||||||
var index = 0
|
var index = 0
|
||||||
@@ -71,7 +68,6 @@ class ListTest {
|
|||||||
|
|
||||||
assertEquals(data.size(), index)
|
assertEquals(data.size(), index)
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
test fun lastIndex() {
|
test fun lastIndex() {
|
||||||
val emptyData = ArrayList<String>()
|
val emptyData = ArrayList<String>()
|
||||||
|
|||||||
Reference in New Issue
Block a user