[groovy] Fix a test

GitOrigin-RevId: 4a526cb0f6c52751f0ef88c6814e3b84aa65e98a
This commit is contained in:
Konstantin Nisht
2021-12-08 20:37:38 +00:00
committed by intellij-monorepo-bot
parent 9aa8d7ff80
commit 7b60e3005e
@@ -222,7 +222,9 @@ public class GroovyIndentProcessor extends GroovyElementVisitor {
myResult = getContinuationWithoutFirstIndent();
}
else if (TokenSets.BLOCK_SET.contains(myChildType)) {
myResult = getContinuationWithoutFirstIndent();
if (myChild == ifStatement.getCondition()) {
myResult = getContinuationWithoutFirstIndent();
}
}
else if (myChild == ifStatement.getThenBranch()) {
myResult = getNormalIndent();