[Test] Add test for ugly K2 reporting of annotation arguments

...in `ACTUAL_ANNOTATIONS_NOT_MATCH_EXPECT` diagnostic message.

^KT-62585
This commit is contained in:
Roman Efremov
2023-10-13 13:48:59 +02:00
committed by Space Team
parent 67ac985be7
commit b3467353b2
5 changed files with 62 additions and 0 deletions
@@ -23999,6 +23999,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/annotationMatching"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
}
@Test
@TestMetadata("annotationArgRendering.kt")
public void testAnnotationArgRendering() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/annotationMatching/annotationArgRendering.kt");
}
@Test
@TestMetadata("annotationArgumentsConstExpressions.kt")
public void testAnnotationArgumentsConstExpressions() throws Exception {