Tests for KT-2865. Passes already in M11 or even earlier

This commit is contained in:
Mikhail Glukhikh
2015-04-07 18:44:29 +03:00
parent 39e01f4df2
commit 221501c0d9
3 changed files with 22 additions and 0 deletions
@@ -11323,6 +11323,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/varnotnull"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("kt2865.kt")
public void testKt2865() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/smartCasts/varnotnull/kt2865.kt");
doTest(fileName);
}
@TestMetadata("kt3224.kt")
public void testKt3224() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/smartCasts/varnotnull/kt3224.kt");