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
@@ -17,7 +17,7 @@ fun testUnresolved() {
foo1(<!UNRESOLVED_REFERENCE!>i<!>)
s.<!UNRESOLVED_REFERENCE!>foo<!>()
<!NO_ELSE_IN_WHEN!>when<!>(<!UNRESOLVED_REFERENCE!>a<!>) {
when(<!UNRESOLVED_REFERENCE!>a<!>) {
is Int -> <!UNRESOLVED_REFERENCE!>a<!>
is String -> <!UNRESOLVED_REFERENCE!>a<!>
}