aboutsummaryrefslogtreecommitdiff
path: root/core/src/test
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2017-02-24 14:12:27 +0100
committerDmitry Jemerov <yole@jetbrains.com>2017-02-24 14:12:27 +0100
commit386f3a88f24cc9ce032899354188dfc4d54ad0a8 (patch)
tree1d44366d0692dbd0c092f95352e8051661b337b8 /core/src/test
parentc8bef5fdac93e62ea3e367012769d34fa838ae7a (diff)
downloaddokka-386f3a88f24cc9ce032899354188dfc4d54ad0a8.tar.gz
dokka-386f3a88f24cc9ce032899354188dfc4d54ad0a8.tar.bz2
dokka-386f3a88f24cc9ce032899354188dfc4d54ad0a8.zip
Don't show member extensions defined in other classes in the list of members for a type
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 fb202b81..34870ce7 100644
--- a/core/src/test/kotlin/format/MarkdownFormatTest.kt
+++ b/core/src/test/kotlin/format/MarkdownFormatTest.kt
@@ -250,6 +250,10 @@ class MarkdownFormatTest {
verifyMarkdownNodes("dynamicExtension") { model -> model.members.single().members.filter { it.name == "Foo" } }
}
+ @Test fun memberExtension() {
+ verifyMarkdownNodes("memberExtension") { model -> model.members.single().members.filter { it.name == "Foo" } }
+ }
+
@Test fun multiplePlatforms() {
verifyMultiplatformPackage(buildMultiplePlatforms("multiplatform"), "multiplatform")
}