tests: apply official code style
#KT-38632 Fixed
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
// INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.any()'"
|
||||
fun foo(list: List<String>) {
|
||||
val <caret>found = list
|
||||
.filterIndexed { index, s -> s.length > index }
|
||||
.any()
|
||||
.filterIndexed { index, s -> s.length > index }
|
||||
.any()
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
// INTENTION_TEXT_2: "Replace with 'asSequence().filterIndexed{}.any()'"
|
||||
fun foo(list: List<String>) {
|
||||
val <caret>found = list
|
||||
.asSequence()
|
||||
.filterIndexed { index, s -> s.length > index }
|
||||
.any()
|
||||
.asSequence()
|
||||
.filterIndexed { index, s -> s.length > index }
|
||||
.any()
|
||||
}
|
||||
Reference in New Issue
Block a user