Adjust testData to *Map transformation

This commit is contained in:
Denis Zharkov
2015-10-12 19:51:28 +03:00
committed by Mikhail Glukhikh
parent 6fa8083a70
commit d71b0144d5
14 changed files with 62 additions and 62 deletions
@@ -2,7 +2,7 @@ import java.util.AbstractMap
import java.util.Collections
class A : AbstractMap<Int, String>() {
override fun entrySet(): MutableSet<MutableMap.MutableEntry<Int, String>> = Collections.emptySet()
override val entries: MutableSet<MutableMap.MutableEntry<Int, String>> get() = Collections.emptySet()
}
fun box(): String {
@@ -14,9 +14,9 @@ fun box(): String {
a.putAll(b)
a.clear()
a.keySet()
a.values()
a.entrySet()
a.keys
a.values
a.entries
return "OK"
}
@@ -12,9 +12,9 @@ fun box(): String {
a.putAll(b)
a.clear()
a.keySet()
a.values()
a.entrySet()
a.keys
a.values
a.entries
return "OK"
}