tests: apply official code style
#KT-38632 Fixed
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
// INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.mapIndexed{}.firstOrNull{}'"
|
||||
fun foo(list: List<String>): Int? {
|
||||
<caret>return list
|
||||
.mapIndexed { index, s -> s.length * index }
|
||||
.mapIndexed { index, x -> x + index }
|
||||
.firstOrNull { it > 0 }
|
||||
.mapIndexed { index, s -> s.length * index }
|
||||
.mapIndexed { index, x -> x + index }
|
||||
.firstOrNull { it > 0 }
|
||||
}
|
||||
Reference in New Issue
Block a user