[KT-7683] Implement translation of 'when .. in' clause to JS

This commit is contained in:
Alexey Andreev
2016-02-03 16:23:52 +03:00
parent 6ee4071462
commit e9d5d8f0fe
9 changed files with 250 additions and 9 deletions
@@ -113,4 +113,24 @@ public final class WhenTest extends AbstractExpressionTest {
public void testIfInWhenDanglingElseIssue() throws Exception {
checkFooBoxIsOk();
}
public void testWhenWithRangeClause() throws Exception {
checkFooBoxIsOk();
}
public void testWhenWithLongRangeClause() throws Exception {
checkFooBoxIsOk();
}
public void testWhenWithCharRangeClause() throws Exception {
checkFooBoxIsOk();
}
public void testWhenWithCustomRangeClause() throws Exception {
checkFooBoxIsOk();
}
public void testWhenStatementWithRangeClause() throws Exception {
checkFooBoxIsOk();
}
}