[NI-MIGRATE] Update test about signature enhancements
It's required as now there are no synthetic candidates
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
fun notNullValues(list: MutableList<String>) {
|
||||
list.replaceAll { it.length.toString() }
|
||||
// SUCCESS
|
||||
// ORIGINAL: fun replaceAll((E) -> E): Unit defined in kotlin.collections.MutableList
|
||||
// SUBSTITUTED: fun replaceAll((String) -> String): Unit defined in kotlin.collections.MutableList
|
||||
// ORIGINAL: fun replaceAll(UnaryOperator<E>): Unit defined in kotlin.collections.MutableList
|
||||
// SUBSTITUTED: fun replaceAll(UnaryOperator<String>): Unit defined in kotlin.collections.MutableList
|
||||
}
|
||||
|
||||
fun nullableValues(list: MutableList<String?>) {
|
||||
list.replaceAll { it?.run { length.toString() } }
|
||||
// SUCCESS
|
||||
// ORIGINAL: fun replaceAll((E) -> E): Unit defined in kotlin.collections.MutableList
|
||||
// SUBSTITUTED: fun replaceAll((String?) -> String?): Unit defined in kotlin.collections.MutableList
|
||||
// ORIGINAL: fun replaceAll(UnaryOperator<E>): Unit defined in kotlin.collections.MutableList
|
||||
// SUBSTITUTED: fun replaceAll(UnaryOperator<String?>): Unit defined in kotlin.collections.MutableList
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user