tests: apply official code style
#KT-38632 Fixed
This commit is contained in:
+3
-3
@@ -3,7 +3,7 @@
|
||||
// INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.forEach{}'"
|
||||
fun foo(list: List<String>, target: MutableList<Int>) {
|
||||
list
|
||||
.asSequence()
|
||||
.filter { it.length > 0 }
|
||||
.forEach { target.add(0) }
|
||||
.asSequence()
|
||||
.filter { it.length > 0 }
|
||||
.forEach { target.add(0) }
|
||||
}
|
||||
Reference in New Issue
Block a user