Groupped tests by folders
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// WITH_RUNTIME
|
||||
// INTENTION_TEXT: "Replace with '+= flatMap{}.takeWhile{}'"
|
||||
// INTENTION_TEXT_2: "Replace with '+= asSequence().flatMap{}.takeWhile{}'"
|
||||
fun foo(list: List<String>, target: MutableCollection<Int>) {
|
||||
<caret>target += list
|
||||
.flatMap { it.indices }
|
||||
.takeWhile { it <= 1000 }
|
||||
}
|
||||
Reference in New Issue
Block a user