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.kt5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/base/src/test/kotlin/markdown/KDocTest.kt b/plugins/base/src/test/kotlin/markdown/KDocTest.kt
index c58c4e30..5099c46f 100644
--- a/plugins/base/src/test/kotlin/markdown/KDocTest.kt
+++ b/plugins/base/src/test/kotlin/markdown/KDocTest.kt
@@ -27,9 +27,8 @@ open class KDocTest : AbstractCoreTest() {
private fun actualDocumentationNode(modulePageNode: ModulePageNode) =
(modulePageNode.documentable?.children?.first() as Package)
- .classlikes.first()
- .platformInfo.first()
- .documentationNode
+ .classlikes.single()
+ .documentation.values.single()
protected fun executeTest(kdoc: String, expectedDocumentationNode: DocumentationNode) {