Add test for uncovered case.

This commit is contained in:
Pavel V. Talanov
2012-03-30 13:21:49 +04:00
parent fbd1279cc9
commit 36e242a9e6
3 changed files with 26 additions and 0 deletions
@@ -113,4 +113,8 @@ public final class MiscTest extends AbstractExpressionTest {
public void testTemporaryVariableCreatedInNamespaceInitializer() throws Exception {
checkFooBoxIsTrue("temporaryVariableCreatedInNamespaceInitializer.kt");
}
public void testWhenReturnedWithoutBlock() throws Exception {
checkFooBoxIsTrue("whenReturnedWithoutBlock.kt");
}
}