From dc35524fe168886b65191d669e6cdb6e54687f6e Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Tue, 21 Jun 2016 18:08:53 +0300 Subject: [PATCH] Tests only: codeCleanup() method signature was changed --- .../kotlin/idea/inspections/KotlinCleanupInspectionTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idea/tests/org/jetbrains/kotlin/idea/inspections/KotlinCleanupInspectionTest.kt b/idea/tests/org/jetbrains/kotlin/idea/inspections/KotlinCleanupInspectionTest.kt index f59cc9faf56..906ff099f13 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/inspections/KotlinCleanupInspectionTest.kt +++ b/idea/tests/org/jetbrains/kotlin/idea/inspections/KotlinCleanupInspectionTest.kt @@ -40,7 +40,7 @@ class KotlinCleanupInspectionTest(): KotlinLightCodeInsightFixtureTestCase() { val globalContext = managerEx.createNewGlobalContext(false) as GlobalInspectionContextBase val analysisScope = AnalysisScope(myFixture.file) val profile = InspectionProjectProfileManager.getInstance(project).inspectionProfile - globalContext.codeCleanup(project, analysisScope, profile, "Cleanup", null, true) + globalContext.codeCleanup(analysisScope, profile, "Cleanup", null, true) myFixture.checkResultByFile(result) }