Configuration: move scratch tests to separate module
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
// REPL_MODE: false
|
||||
|
||||
val a = 1 // RESULT: val a: Int
|
||||
when(a) { // OUTPUT: 1
|
||||
1 -> println("1")
|
||||
else -> println("2")
|
||||
}
|
||||
|
||||
when(a) { // OUTPUT: 1
|
||||
1 -> println("1")
|
||||
}
|
||||
|
||||
when(a) { // OUTPUT: 1
|
||||
2 -> println("2")
|
||||
else -> println("1")
|
||||
}
|
||||
|
||||
when(a) { // RESULT: 11
|
||||
1 -> 11
|
||||
else -> 12
|
||||
}
|
||||
Reference in New Issue
Block a user