[NI-MIGRATE] Update test about signature enhancements

It's required as now there are no synthetic candidates
This commit is contained in:
Mikhail Zarechenskiy
2020-02-12 18:53:04 +03:00
parent 319a38bd5c
commit c2fc633ad6
10 changed files with 73 additions and 72 deletions
@@ -10,8 +10,8 @@ fun valuesNotNull(map: MutableMap<Int, String>) {
map.replaceAll { k, v -> "$k to ${v.length}" }
// SUCCESS
// ORIGINAL: fun replaceAll((K, V) -> V): Unit defined in kotlin.collections.MutableMap
// SUBSTITUTED: fun replaceAll((Int, String) -> String): Unit defined in kotlin.collections.MutableMap
// ORIGINAL: fun replaceAll(BiFunction<in K, in V, out V>): Unit defined in kotlin.collections.MutableMap
// SUBSTITUTED: fun replaceAll(BiFunction<in Int, in String, out String>): Unit defined in kotlin.collections.MutableMap
}
fun valuesNullable(map: MutableMap<Int, String?>) {
@@ -26,7 +26,7 @@ fun valuesNullable(map: MutableMap<Int, String?>) {
map.replaceAll { k, v -> "$k to $v" }
// SUCCESS
// ORIGINAL: fun replaceAll((K, V) -> V): Unit defined in kotlin.collections.MutableMap
// SUBSTITUTED: fun replaceAll((Int, String?) -> String?): Unit defined in kotlin.collections.MutableMap
// ORIGINAL: fun replaceAll(BiFunction<in K, in V, out V>): Unit defined in kotlin.collections.MutableMap
// SUBSTITUTED: fun replaceAll(BiFunction<in Int, in String?, out String?>): Unit defined in kotlin.collections.MutableMap
}