fixed mapping sort and max functions from java.util.Collections

This commit is contained in:
Zalim Bashorov
2013-03-06 18:47:04 +04:00
parent dd7d584478
commit 220682afe2
9 changed files with 135 additions and 54 deletions
+1 -2
View File
@@ -44,8 +44,7 @@ class MapJsTest {
test fun hashMapValues() {
val map = createTestHashMap()
//todo: fixme after sort() will be fixed for JS
assertEquals(VALUES, map.values())
assertEquals(VALUES.toList(), map.values().toSortedList())
}
fun createTestHashMap(): HashMap<String, Int> {