Existing tests updated according to "'Else' is not required in 'when' if Unit is expected"

This commit is contained in:
Andrey Breslav
2013-09-12 22:20:25 +02:00
parent c017858f77
commit 69cc11d035
10 changed files with 13 additions and 13 deletions
@@ -1,7 +1,7 @@
//FILE: foo.kt
fun main(args: Array<String>) {
val c: Type
<!NO_ELSE_IN_WHEN!>when<!> (<!UNINITIALIZED_VARIABLE!>c<!>) {
when (<!UNINITIALIZED_VARIABLE!>c<!>) {
}
}