Extract Function: Add test data
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
// NEXT_SIBLING:
|
||||
fun foo(a: Int): Int {
|
||||
val b: Int = 1
|
||||
for (n in 1..a) {
|
||||
<selection>if (a + b > 0) break
|
||||
println(a - b)
|
||||
break</selection>
|
||||
}
|
||||
return 1
|
||||
}
|
||||
Reference in New Issue
Block a user