From 9f67dcf75d3b86fa6e4e352d2cebc4f9e17b8048 Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Fri, 17 Jun 2022 15:16:03 +0200 Subject: Handle more corner cases for inherited accessors (#2532) --- .../src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocIndexTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/javadoc/src') diff --git a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocIndexTest.kt b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocIndexTest.kt index abb963a6..c7a4db35 100644 --- a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocIndexTest.kt +++ b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocIndexTest.kt @@ -71,7 +71,7 @@ internal class JavadocIndexTest : AbstractJavadocTemplateMapTest() { AnnotationTarget.ANNOTATION_CLASS::class.java.methods.any { it.name == "describeConstable" } testIndexPages(commonTestQuery) { indexPages -> - assertEquals(if (hasAdditionalFunction()) 32 else 31, indexPages.sumBy { it.elements.size }) + assertEquals(if (hasAdditionalFunction()) 31 else 30, indexPages.sumBy { it.elements.size }) } } @@ -163,4 +163,4 @@ internal class JavadocIndexTest : AbstractJavadocTemplateMapTest() { testTemplateMapInline(query) { operation(allPagesOfType().map { it.templateMap }) } -} \ No newline at end of file +} -- cgit