Existing tests updated according to "'Else' is not required in 'when' if Unit is expected"
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// "Add else branch" "true"
|
||||
fun test() {
|
||||
val a = 12
|
||||
wh<caret>en (a) {
|
||||
val x = wh<caret>en (a) {
|
||||
in 0..11 -> { /* some code */ }
|
||||
12, 13, 14 -> { /* some code */ }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user