Temporary drop mapNotNull and mapNotNullTo.
Disable mapNotNull tests #KT-4410
This commit is contained in:
@@ -36,6 +36,7 @@ class CollectionTest {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
@test fun mapNotNull() {
|
||||
val data = listOf(null, "foo", null, "bar")
|
||||
val foo = data.mapNotNull { it.length() }
|
||||
@@ -46,6 +47,7 @@ class CollectionTest {
|
||||
foo is List<Int>
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
@test fun listOfNotNull() {
|
||||
val l1: List<Int> = listOfNotNull(null)
|
||||
|
||||
Reference in New Issue
Block a user