RemoveRedundantQualifierNameInspection: add regression test

#KT-35898
This commit is contained in:
Dmitry Gridin
2020-04-07 15:56:39 +07:00
parent 661812b255
commit b548c5bf93
2 changed files with 13 additions and 0 deletions
@@ -0,0 +1,8 @@
// PROBLEM: none
class Test1<T: Any> {
private inner class Cell
fun check(o: Any) {
(o as? Test1<caret><*>.Cell)
}
}
@@ -9017,6 +9017,11 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
runTest("idea/testData/inspectionsLocal/removeRedundantQualifierName/javaConstructor.kt");
}
@TestMetadata("kt35898.kt")
public void testKt35898() throws Exception {
runTest("idea/testData/inspectionsLocal/removeRedundantQualifierName/kt35898.kt");
}
@TestMetadata("localFun.kt")
public void testLocalFun() throws Exception {
runTest("idea/testData/inspectionsLocal/removeRedundantQualifierName/localFun.kt");