Tests only: codeCleanup() method signature was changed
This commit is contained in:
committed by
Nikolay Krasko
parent
89175a0165
commit
dc35524fe1
@@ -40,7 +40,7 @@ class KotlinCleanupInspectionTest(): KotlinLightCodeInsightFixtureTestCase() {
|
|||||||
val globalContext = managerEx.createNewGlobalContext(false) as GlobalInspectionContextBase
|
val globalContext = managerEx.createNewGlobalContext(false) as GlobalInspectionContextBase
|
||||||
val analysisScope = AnalysisScope(myFixture.file)
|
val analysisScope = AnalysisScope(myFixture.file)
|
||||||
val profile = InspectionProjectProfileManager.getInstance(project).inspectionProfile
|
val profile = InspectionProjectProfileManager.getInstance(project).inspectionProfile
|
||||||
globalContext.codeCleanup(project, analysisScope, profile, "Cleanup", null, true)
|
globalContext.codeCleanup(analysisScope, profile, "Cleanup", null, true)
|
||||||
|
|
||||||
myFixture.checkResultByFile(result)
|
myFixture.checkResultByFile(result)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user