Introduce 'when' subject: consider equality right-hand side as subject candidate
This commit is contained in:
+5
@@ -585,6 +585,11 @@ public class CodeTransformationsTestGenerated extends AbstractCodeTransformation
|
||||
doTestIntroduceWhenSubject("idea/testData/codeInsight/codeTransformations/branched/when/introduceSubject/whenWithSubject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("whenWithSwappedEqualityTests.kt")
|
||||
public void testWhenWithSwappedEqualityTests() throws Exception {
|
||||
doTestIntroduceWhenSubject("idea/testData/codeInsight/codeTransformations/branched/when/introduceSubject/whenWithSwappedEqualityTests.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("whenWithUnmatchedCandidateSubjects.kt")
|
||||
public void testWhenWithUnmatchedCandidateSubjects() throws Exception {
|
||||
doTestIntroduceWhenSubject("idea/testData/codeInsight/codeTransformations/branched/when/introduceSubject/whenWithUnmatchedCandidateSubjects.kt");
|
||||
|
||||
Reference in New Issue
Block a user