aboutsummaryrefslogtreecommitdiff
path: root/core/src/test
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-11-21 19:46:20 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-11-21 19:46:20 +0300
commit454b4a4c8490a04fcfe17309596c6316cd321113 (patch)
tree276b1c554b07208d9e024aff1d233044b3378046 /core/src/test
parent46af59cc658e4f56b6d2909ab4dc93f43af77dc2 (diff)
downloaddokka-454b4a4c8490a04fcfe17309596c6316cd321113.tar.gz
dokka-454b4a4c8490a04fcfe17309596c6316cd321113.tar.bz2
dokka-454b4a4c8490a04fcfe17309596c6316cd321113.zip
Fix suppressing of companion when it implements some interface
Diffstat (limited to 'core/src/test')
-rw-r--r--core/src/test/kotlin/format/MarkdownFormatTest.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/test/kotlin/format/MarkdownFormatTest.kt b/core/src/test/kotlin/format/MarkdownFormatTest.kt
index f572922c..d2ab5b5c 100644
--- a/core/src/test/kotlin/format/MarkdownFormatTest.kt
+++ b/core/src/test/kotlin/format/MarkdownFormatTest.kt
@@ -396,6 +396,10 @@ class MarkdownFormatTest {
verifyMarkdownNodeByName("notPublishedTypeAliasAutoExpansion", "foo", includeNonPublic = false)
}
+ @Test fun companionImplements() {
+ verifyMarkdownNodeByName("companionImplements", "Foo")
+ }
+
private fun buildMultiplePlatforms(path: String): DocumentationModule {
val module = DocumentationModule("test")
val options = DocumentationOptions("", "html", generateIndexPages = false, noStdlibLink = true)