tests: apply official code style
#KT-38632 Fixed
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
// INTENTION_TEXT_2: "Replace with '+= asSequence().flatMap{}.takeWhile{}'"
|
||||
fun foo(list: List<String>, target: MutableCollection<Int>) {
|
||||
<caret>target += list
|
||||
.asSequence()
|
||||
.flatMap { it.indices.asSequence() }
|
||||
.takeWhile { it <= 1000 }
|
||||
.asSequence()
|
||||
.flatMap { it.indices.asSequence() }
|
||||
.takeWhile { it <= 1000 }
|
||||
}
|
||||
Reference in New Issue
Block a user