Minor: Add test for KT-8295
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
fun foo() {
|
||||
val m = <selection>Int</selection>.Companion.MAX_VALUE
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
Cannot find an expression to introduce
|
||||
+6
@@ -343,6 +343,12 @@ public class ExtractionTestGenerated extends AbstractExtractionTest {
|
||||
doIntroduceVariableTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("qualifier.kt")
|
||||
public void testQualifier() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/refactoring/introduceVariable/qualifier.kt");
|
||||
doIntroduceVariableTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("ReplaceOccurence.kt")
|
||||
public void testReplaceOccurence() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/refactoring/introduceVariable/ReplaceOccurence.kt");
|
||||
|
||||
Reference in New Issue
Block a user