Add test for KT-54742
This commit is contained in:
+6
@@ -15140,6 +15140,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/inference/coercionToUnit")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class CoercionToUnit {
|
||||
@Test
|
||||
@TestMetadata("afterBareReturn.kt")
|
||||
public void testAfterBareReturn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/coercionToUnit/afterBareReturn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInCoercionToUnit() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/coercionToUnit"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
|
||||
Reference in New Issue
Block a user