Introduce Variable: Use expression unifier to find duplicates
This commit is contained in:
+10
@@ -173,6 +173,11 @@ public class JetExtractionTestGenerated extends AbstractJetExtractionTest {
|
||||
doIntroduceVariableTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("OccurrencesInStringTemplate.kt")
|
||||
public void testOccurrencesInStringTemplate() throws Exception {
|
||||
doIntroduceVariableTest("idea/testData/refactoring/introduceVariable/OccurrencesInStringTemplate.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("OneExplicitReceiver.kt")
|
||||
public void testOneExplicitReceiver() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/refactoring/introduceVariable/OneExplicitReceiver.kt");
|
||||
@@ -209,6 +214,11 @@ public class JetExtractionTestGenerated extends AbstractJetExtractionTest {
|
||||
doIntroduceVariableTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("UnresolvedOccurrences.kt")
|
||||
public void testUnresolvedOccurrences() throws Exception {
|
||||
doIntroduceVariableTest("idea/testData/refactoring/introduceVariable/UnresolvedOccurrences.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("WhenAddBlock.kt")
|
||||
public void testWhenAddBlock() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/refactoring/introduceVariable/WhenAddBlock.kt");
|
||||
|
||||
Reference in New Issue
Block a user