aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/enums/EnumsTest.kt
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/test/kotlin/enums/EnumsTest.kt')
-rw-r--r--plugins/base/src/test/kotlin/enums/EnumsTest.kt8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/base/src/test/kotlin/enums/EnumsTest.kt b/plugins/base/src/test/kotlin/enums/EnumsTest.kt
index f338a8b3..dba5c24a 100644
--- a/plugins/base/src/test/kotlin/enums/EnumsTest.kt
+++ b/plugins/base/src/test/kotlin/enums/EnumsTest.kt
@@ -213,8 +213,10 @@ class EnumsTest : AbstractCoreTest() {
}
}
group {
- link { +"E1" }
- +"()"
+ group {
+ link { +"E1" }
+ +"()"
+ }
}
}
}
@@ -227,5 +229,5 @@ class EnumsTest : AbstractCoreTest() {
this.parentMap.filterValues { it is ClasslikePageNode }.entries.groupBy({ it.value }) { it.key }
private fun ContentGroup.constructorSignature(): String =
- children.drop(1).joinToString(separator = "") { (it as ContentText).text }
+ (children.single() as ContentGroup).children.drop(1).joinToString(separator = "") { (it as ContentText).text }
} \ No newline at end of file