[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
@@ -18969,6 +18969,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/forks"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
}
@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 LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/forks"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
}
@Test
@TestMetadata("forkInWhen.kt")
public void testForkInWhen() {
runTest("compiler/testData/diagnostics/tests/inference/forks/forkInWhen.kt");
}
@Test
@TestMetadata("nestedCallVariableFixation.kt")
public void testNestedCallVariableFixation() {