Revert "KT-23394: Add a test with a property"
This reverts commit f2dc132d
This commit is contained in:
@@ -1,10 +0,0 @@
|
|||||||
// "Change type of 'Foo.x' to 'String?'" "true"
|
|
||||||
class Foo {
|
|
||||||
var x = null
|
|
||||||
|
|
||||||
fun foo(condition: Boolean) {
|
|
||||||
if (condition) {
|
|
||||||
x = "abc"<caret>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
// "Change type of 'Foo.x' to 'String?'" "true"
|
|
||||||
class Foo {
|
|
||||||
var x: String? = null
|
|
||||||
|
|
||||||
fun foo(condition: Boolean) {
|
|
||||||
if (condition) {
|
|
||||||
x = "abc"<caret>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -14278,11 +14278,6 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
|
|||||||
runTest("idea/testData/quickfix/typeMismatch/variableInitializedWithNull4.kt");
|
runTest("idea/testData/quickfix/typeMismatch/variableInitializedWithNull4.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("variableInitializedWithNullProperty.kt")
|
|
||||||
public void testVariableInitializedWithNullProperty() throws Exception {
|
|
||||||
runTest("idea/testData/quickfix/typeMismatch/variableInitializedWithNullProperty.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("when.kt")
|
@TestMetadata("when.kt")
|
||||||
public void testWhen() throws Exception {
|
public void testWhen() throws Exception {
|
||||||
runTest("idea/testData/quickfix/typeMismatch/when.kt");
|
runTest("idea/testData/quickfix/typeMismatch/when.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user