"Redundant Unit" inspection: fix for Unit returned as Any
So #KT-24066 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
c44cab4565
commit
6e150d27f1
+5
@@ -3412,6 +3412,11 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
|
||||
public void testRedundant5() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/redundantUnitExpression/redundant5.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("returnAsAny.kt")
|
||||
public void testReturnAsAny() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/redundantUnitExpression/returnAsAny.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("idea/testData/inspectionsLocal/removeRedundantBackticks")
|
||||
|
||||
Reference in New Issue
Block a user