Translate when as if-else instead for loop.
This commit is contained in:
@@ -81,4 +81,8 @@ public final class PatternMatchingTest extends SingleFileTranslationTest {
|
||||
public void testWhenWithoutExpression() throws Exception {
|
||||
fooBoxTest();
|
||||
}
|
||||
|
||||
public void testWhenWithOnlyElse() throws Exception {
|
||||
fooBoxTest();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user