diff --git a/idea/testData/inspections/cleanup/cleanup.kt b/idea/testData/inspections/cleanup/cleanup.kt index 568e5fc95b5..22ac7e52b54 100644 --- a/idea/testData/inspections/cleanup/cleanup.kt +++ b/idea/testData/inspections/cleanup/cleanup.kt @@ -16,10 +16,6 @@ fun foo() { oldFun2() - ff() - val xx = valX - varX = 50 - varY = 60 1.identityEquals(2) } diff --git a/idea/testData/inspections/cleanup/cleanup.kt.after b/idea/testData/inspections/cleanup/cleanup.kt.after index a808c2fe9bc..423be14e1f6 100644 --- a/idea/testData/inspections/cleanup/cleanup.kt.after +++ b/idea/testData/inspections/cleanup/cleanup.kt.after @@ -15,10 +15,6 @@ fun foo() { oldFun2() - ff() - val xx = valX - varX = 50 - varY = 60 1 === 2 } diff --git a/idea/testData/inspections/cleanup/topLevels.kt b/idea/testData/inspections/cleanup/topLevels.kt deleted file mode 100644 index 0844dabbb73..00000000000 --- a/idea/testData/inspections/cleanup/topLevels.kt +++ /dev/null @@ -1,8 +0,0 @@ -private fun ff() {} - -private val valX = 10 - -private var varX = 20 - -var varY = 30 - private set(value: Int) {} \ No newline at end of file diff --git a/idea/testData/inspections/cleanup/topLevels.kt.after b/idea/testData/inspections/cleanup/topLevels.kt.after deleted file mode 100644 index 6225521892b..00000000000 --- a/idea/testData/inspections/cleanup/topLevels.kt.after +++ /dev/null @@ -1,8 +0,0 @@ -internal fun ff() {} - -internal val valX = 10 - -internal var varX = 20 - -var varY = 30 - internal set(value: Int) {} \ No newline at end of file diff --git a/idea/tests/org/jetbrains/kotlin/idea/inspections/KotlinCleanupInspectionTest.kt b/idea/tests/org/jetbrains/kotlin/idea/inspections/KotlinCleanupInspectionTest.kt index 7df46da420a..9c023503190 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/inspections/KotlinCleanupInspectionTest.kt +++ b/idea/tests/org/jetbrains/kotlin/idea/inspections/KotlinCleanupInspectionTest.kt @@ -43,10 +43,9 @@ class KotlinCleanupInspectionTest(): JetLightCodeInsightFixtureTestCase() { globalContext.codeCleanup(project, analysisScope, profile, "Cleanup", null, true) myFixture.checkResultByFile(result) - myFixture.checkResultByFile("topLevels.kt", "topLevels.kt.after", true) } public fun testCleanup() { - doTest("cleanup.kt.after", "cleanup.kt", "topLevels.kt","JavaAnn.java", "deprecatedSymbols.kt") + doTest("cleanup.kt.after", "cleanup.kt", "JavaAnn.java", "deprecatedSymbols.kt") } }