New J2K: Fix spaces in structural tests

This commit is contained in:
Ilya Kirillov
2018-11-10 19:14:20 +03:00
committed by Ilya Kirillov
parent 61d6709cb7
commit 2e0c7e9128
@@ -20,7 +20,9 @@ internal fun KtFile.dumpStructureText(): String {
return
}
if (element is PsiWhiteSpace) {
sb.append(" ")
if (sb.lastOrNull() != ' ') {
sb.append(" ")
}
return
}
if (element is LeafPsiElement) {