Move debugger test data to the new location
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
package whenWithoutExpression
|
||||
|
||||
fun test(a: String): String {
|
||||
val b = a.toLowerCase()
|
||||
//Breakpoint!
|
||||
return when {
|
||||
b.startsWith("a") -> "A"
|
||||
b.startsWith("b") -> "B"
|
||||
b.startsWith("c") -> "C"
|
||||
else -> "other"
|
||||
}
|
||||
}
|
||||
|
||||
fun main() {
|
||||
test("abcd")
|
||||
}
|
||||
|
||||
// STEP_OVER: 4
|
||||
// PRINT_FRAME
|
||||
Reference in New Issue
Block a user