Groupped tests by folders
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// WITH_RUNTIME
|
||||
// INTENTION_TEXT: "Replace with 'firstOrNull{}'"
|
||||
// IS_APPLICABLE_2: false
|
||||
fun foo(list: List<String?>) {
|
||||
val <caret>result: String? = list
|
||||
.firstOrNull { it != "" }
|
||||
?.substring(1)
|
||||
}
|
||||
Reference in New Issue
Block a user