StdLib deprecations cleanup: *array -> *arrayOf, copyToArray -> toTypedArray.

This commit is contained in:
Ilya Gorbunov
2015-06-25 17:33:35 +03:00
parent c462d23a0e
commit 00a44f6d4f
12 changed files with 37 additions and 39 deletions
+2 -2
View File
@@ -73,9 +73,9 @@ class LinkedHashMapTest : MapJsTest() {
abstract class MapJsTest {
val KEYS = listOf("zero", "one", "two", "three")
val VALUES = array(0, 1, 2, 3).toList()
val VALUES = arrayOf(0, 1, 2, 3).toList()
val SPECIAL_NAMES = array("__proto__", "constructor", "toString", "toLocaleString", "valueOf", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable")
val SPECIAL_NAMES = arrayOf("__proto__", "constructor", "toString", "toLocaleString", "valueOf", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable")
test fun getOrElse() {
val data = emptyMap()