Fix false positive in class literal #KT-16338 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
6cd13341ee
commit
65f23f3c4e
+5
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user