Fix tests failing after stdlib generation refactoring

This commit is contained in:
Maxim Shafirov
2013-02-12 22:05:54 +04:00
parent 24d99eb33f
commit 15446e98b8
6 changed files with 32 additions and 19 deletions
+4
View File
@@ -46,6 +46,9 @@ class ListTest {
assertEquals(data.size(), index)
}
/*
TODO: Crashes JS compiler
test fun withIndices() {
val data = arrayList("foo", "bar")
var index = 0
@@ -58,6 +61,7 @@ class ListTest {
assertEquals(data.size(), index)
}
*/
test fun lastIndex() {
val emptyData = ArrayList<String>()