Fix condition generation of empty if

This commit is contained in:
Alexander Udalov
2012-11-22 15:37:39 +04:00
parent af601b5a90
commit 8564c20baa
3 changed files with 20 additions and 5 deletions
@@ -463,6 +463,10 @@ public class ControlStructuresTest extends CodegenTestCase {
public void testForInSmartCastedToArray() {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("controlStructures/forInSmartCastedToArray.kt");
//System.out.println(generateToText());
}
public void testConditionOfEmptyIf() {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("controlStructures/conditionOfEmptyIf.kt");
}
}