Fix PSI consistency test accordingly to changes in RawFirBuilder

This commit is contained in:
Mikhail Glukhikh
2022-02-15 09:38:26 +03:00
committed by teamcity
parent 2ac2fa5353
commit 582e8fc9ad
@@ -283,6 +283,7 @@ class RawFirBuilderTotalKotlinTestCase : AbstractRawFirBuilderTestCase() {
it.getStrictParentOfType<KtImportDirective>() != null ||
(it is KtPropertyAccessor && !it.hasBody()) ||
it is KtDestructuringDeclarationEntry && it.text == "_" ||
it is KtIfExpression && it.parent is KtContainerNodeForControlStructureBody && it.parent.parent is KtIfExpression ||
it is KtConstantExpression && it.parent.let { parent ->
parent is KtPrefixExpression && (parent.operationToken == KtTokens.MINUS || parent.operationToken == KtTokens.PLUS)
}