Call chain --> Sequence: don't report if first call is 'groupingBy'
#KT-27104 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
b500239bd1
commit
8fc5fefc7f
+10
@@ -564,6 +564,11 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
|
||||
runTest("idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/comment2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("endsWithGroupingBy.kt")
|
||||
public void testEndsWithGroupingBy() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/endsWithGroupingBy.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("mutableList.kt")
|
||||
public void testMutableList() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/mutableList.kt");
|
||||
@@ -644,6 +649,11 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
|
||||
runTest("idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/simple4.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("startsWithGroupingBy.kt")
|
||||
public void testStartsWithGroupingBy() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/startsWithGroupingBy.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
|
||||
Reference in New Issue
Block a user