Support for elvis operator.

This commit is contained in:
Pavel V. Talanov
2012-04-02 20:45:36 +04:00
parent 3fbbc71dcb
commit fc683e8141
3 changed files with 47 additions and 5 deletions
@@ -117,4 +117,8 @@ public final class MiscTest extends AbstractExpressionTest {
public void testWhenReturnedWithoutBlock() throws Exception {
checkFooBoxIsTrue("whenReturnedWithoutBlock.kt");
}
public void testElvis() throws Exception {
checkFooBoxIsTrue("elvis.kt");
}
}