K2: add test with some samples of diagnostic suppression

This commit is contained in:
Mikhail Glukhikh
2022-07-20 14:46:12 +02:00
committed by Space
parent 4284f6b573
commit 179b267d9f
6 changed files with 79 additions and 0 deletions
@@ -4210,6 +4210,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
public void testSingleWarning() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolve/suppress/singleWarning.kt");
}
@Test
@TestMetadata("withSuppression.kt")
public void testWithSuppression() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolve/suppress/withSuppression.kt");
}
}
@Nested