Add test for KT-55931
This commit is contained in:
committed by
Space Team
parent
d18672bfb1
commit
a37e3def14
+16
@@ -14904,6 +14904,22 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/inference/callableReferences")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class CallableReferences {
|
||||
@Test
|
||||
public void testAllFilesPresentInCallableReferences() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/callableReferences"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt55931.kt")
|
||||
public void testKt55931() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/callableReferences/kt55931.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/inference/capturedTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Reference in New Issue
Block a user