Reverted loading arrays from java with 'out' projection kind as return value.

#KT-3065
This commit is contained in:
Evgeny Gerashchenko
2012-11-29 16:15:19 +04:00
parent fd0251729b
commit 00873b6e8c
21 changed files with 69 additions and 64 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ class StringUtilTest() : TestCase() {
fun testToRegex() {
val re = """foo""".toRegex()
val list = (re.split("hellofoobar") as Array<String>).toList()
val list = re.split("hellofoobar").toList()
assertEquals(arrayList("hello", "bar"), list)
}
}