aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/basic/DokkaBasicTests.kt
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/test/kotlin/basic/DokkaBasicTests.kt')
-rw-r--r--plugins/base/src/test/kotlin/basic/DokkaBasicTests.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/base/src/test/kotlin/basic/DokkaBasicTests.kt b/plugins/base/src/test/kotlin/basic/DokkaBasicTests.kt
index bceb79ae..51817dea 100644
--- a/plugins/base/src/test/kotlin/basic/DokkaBasicTests.kt
+++ b/plugins/base/src/test/kotlin/basic/DokkaBasicTests.kt
@@ -5,6 +5,7 @@ import org.jetbrains.dokka.pages.ModulePageNode
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test
import org.jetbrains.dokka.testApi.testRunner.AbstractCoreTest
+import kotlin.test.assertEquals
class DokkaBasicTests : AbstractCoreTest() {
@@ -32,7 +33,7 @@ class DokkaBasicTests : AbstractCoreTest() {
) {
pagesGenerationStage = {
val root = it as ModulePageNode
- assertTrue(root.getClasslikeToMemberMap().filterKeys { it.name == "Test" }.entries.firstOrNull()?.value?.size == 2)
+ assertEquals(3, root.getClasslikeToMemberMap().filterKeys { it.name == "Test" }.entries.firstOrNull()?.value?.size)
}
}
}