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>) {
|
||||
var result: String? = ""
|
||||
|
||||
<caret>result = list.firstOrNull { it.length > 0 }
|
||||
}
|
||||
Reference in New Issue
Block a user