[213] Adapt to DebugUtil.psiToString semantics change

See 83990991cd17c661bf6ea85b54125c09741d90ec commit in intellij

KTI-1114
This commit is contained in:
Roman Golyshev
2022-08-03 20:07:33 +02:00
committed by Space Team
parent ac388010b1
commit b62b21dd67
@@ -107,7 +107,8 @@ public abstract class KtParsingTestCase extends KtPlatformLiteFixture {
}
protected static String toParseTreeText(PsiElement file, boolean skipSpaces, boolean printRanges) {
return DebugUtil.psiToString(file, skipSpaces, printRanges);
boolean showWhitespaces = !skipSpaces;
return DebugUtil.psiToString(file, showWhitespaces, printRanges);
}
protected String loadFile(@NonNls @TestDataFile String name) throws IOException {