From e6ebedcc24040de90ceea4f1aad19c2c2d9ef47c Mon Sep 17 00:00:00 2001 From: Alexey Kudravtsev Date: Fri, 31 Mar 2017 18:20:14 +0300 Subject: [PATCH] cleanup --- .../plugins/groovy/intentions/GrIntentionTestCase.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")