[Test] Add regression test for KT-66336

This commit is contained in:
Dmitriy Novozhilov
2024-03-14 11:34:02 +02:00
committed by Space Team
parent fcc4470b74
commit c62fe0d107
6 changed files with 50 additions and 0 deletions
@@ -18963,6 +18963,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/forks"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
}
@Test
@TestMetadata("forkInWhen.kt")
public void testForkInWhen() {
runTest("compiler/testData/diagnostics/tests/inference/forks/forkInWhen.kt");
}
@Test
@TestMetadata("nestedCallVariableFixation.kt")
public void testNestedCallVariableFixation() {
@@ -18969,6 +18969,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/forks"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
}
@Test
@TestMetadata("forkInWhen.kt")
public void testForkInWhen() {
runTest("compiler/testData/diagnostics/tests/inference/forks/forkInWhen.kt");
}
@Test
@TestMetadata("nestedCallVariableFixation.kt")
public void testNestedCallVariableFixation() {