aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/markdown/KDocTest.kt
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/test/kotlin/markdown/KDocTest.kt')
-rw-r--r--plugins/base/src/test/kotlin/markdown/KDocTest.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/test/kotlin/markdown/KDocTest.kt b/plugins/base/src/test/kotlin/markdown/KDocTest.kt
index ac8efe6a..fddd41e7 100644
--- a/plugins/base/src/test/kotlin/markdown/KDocTest.kt
+++ b/plugins/base/src/test/kotlin/markdown/KDocTest.kt
@@ -26,7 +26,7 @@ abstract class KDocTest : BaseAbstractTest() {
""".trimMargin()
private fun actualDocumentationNode(modulePageNode: ModulePageNode) =
- (modulePageNode.documentable?.children?.first() as DPackage)
+ (modulePageNode.documentables.firstOrNull()?.children?.first() as DPackage)
.classlikes.single()
.documentation.values.single()