diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-10 16:01:51 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-10 16:01:51 +0100 |
commit | f93ff9c31a815a448b03c3d76d21fd0a6d45c58d (patch) | |
tree | 050a285bbdd6b8f85940a4a7386eb78b90633596 /test/src | |
parent | 25592f52ea3e70e183a2a72bc411346b1650ed9a (diff) | |
download | dokka-f93ff9c31a815a448b03c3d76d21fd0a6d45c58d.tar.gz dokka-f93ff9c31a815a448b03c3d76d21fd0a6d45c58d.tar.bz2 dokka-f93ff9c31a815a448b03c3d76d21fd0a6d45c58d.zip |
correctly render bounds of type parameters in declarations
Diffstat (limited to 'test/src')
-rw-r--r-- | test/src/format/MarkdownFormatTest.kt | 6 | ||||
-rw-r--r-- | test/src/model/FunctionTest.kt | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/test/src/format/MarkdownFormatTest.kt b/test/src/format/MarkdownFormatTest.kt index 77c03ed2..57882c1a 100644 --- a/test/src/format/MarkdownFormatTest.kt +++ b/test/src/format/MarkdownFormatTest.kt @@ -104,4 +104,10 @@ public class MarkdownFormatTest { markdownService.appendNodes(tempLocation, output, model.members.single().members) } } + + Test fun typeParameterBounds() { + verifyOutput("test/data/format/typeParameterBounds.kt", ".md") { model, output -> + markdownService.appendNodes(tempLocation, output, model.members.single().members) + } + } } diff --git a/test/src/model/FunctionTest.kt b/test/src/model/FunctionTest.kt index c648cb55..e40777af 100644 --- a/test/src/model/FunctionTest.kt +++ b/test/src/model/FunctionTest.kt @@ -92,8 +92,6 @@ public class FunctionTest { assertEquals(Content.Empty, content) with(details.single()) { assertEquals("R", name) - assertEquals("R", name) - assertEquals("R", name) assertEquals(DocumentationNode.Kind.UpperBound, kind) assertEquals(Content.Empty, content) assertTrue(details.none()) |