aboutsummaryrefslogtreecommitdiff
path: root/plugins/javadoc/src/test/kotlin
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2022-06-17 15:16:03 +0200
committerGitHub <noreply@github.com>2022-06-17 15:16:03 +0200
commit9f67dcf75d3b86fa6e4e352d2cebc4f9e17b8048 (patch)
tree5b30ddf007113d5b3da04390e093dc8023c04c79 /plugins/javadoc/src/test/kotlin
parentb783439932372e823c36776c53cda5bdc8d0ccae (diff)
downloaddokka-9f67dcf75d3b86fa6e4e352d2cebc4f9e17b8048.tar.gz
dokka-9f67dcf75d3b86fa6e4e352d2cebc4f9e17b8048.tar.bz2
dokka-9f67dcf75d3b86fa6e4e352d2cebc4f9e17b8048.zip
Handle more corner cases for inherited accessors (#2532)
Diffstat (limited to 'plugins/javadoc/src/test/kotlin')
-rw-r--r--plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocIndexTest.kt4
1 files changed, 2 insertions, 2 deletions
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<IndexPage>().map { it.templateMap })
}
-} \ No newline at end of file
+}