Fix false positive in class literal #KT-16338 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-09-21 18:54:45 +09:00
committed by Mikhail Glukhikh
parent 6cd13341ee
commit 65f23f3c4e
3 changed files with 27 additions and 1 deletions
@@ -2587,6 +2587,11 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/inspectionsLocal/leakingThis"), Pattern.compile("^([\\w\\-_]+)\\.(kt|kts)$"), TargetBackend.ANY, true);
}
@TestMetadata("inClassLiteral.kt")
public void testInClassLiteral() throws Exception {
runTest("idea/testData/inspectionsLocal/leakingThis/inClassLiteral.kt");
}
@TestMetadata("noOpenForInterface.kt")
public void testNoOpenForInterface() throws Exception {
runTest("idea/testData/inspectionsLocal/leakingThis/noOpenForInterface.kt");