diff --git a/plugins/groovy/test/org/jetbrains/plugins/groovy/intentions/GrIntentionTestCase.groovy b/plugins/groovy/test/org/jetbrains/plugins/groovy/intentions/GrIntentionTestCase.groovy index 731aa2f77870..fe7f97e893cc 100644 --- a/plugins/groovy/test/org/jetbrains/plugins/groovy/intentions/GrIntentionTestCase.groovy +++ b/plugins/groovy/test/org/jetbrains/plugins/groovy/intentions/GrIntentionTestCase.groovy @@ -41,11 +41,11 @@ abstract class GrIntentionTestCase extends LightCodeInsightFixtureTestCase { myHint = intention.newInstance().text } - protected void doTest(@NotNull String hint = myHint, boolean intentionExists) { + protected void doTest(@NotNull String hint = myHint, boolean intentionShouldBeAvailable) { assertNotNull(hint) myFixture.configureByFile(getTestName(false) + ".groovy") final List list = myFixture.filterAvailableIntentions(hint) - if (intentionExists) { + if (intentionShouldBeAvailable) { myFixture.launchAction(assertOneElement(list)) PostprocessReformattingAspect.getInstance(project).doPostponedFormatting() myFixture.checkResultByFile(getTestName(false) + "_after.groovy")