aboutsummaryrefslogtreecommitdiff
path: root/test/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/src')
-rw-r--r--test/src/format/MarkdownFormatTest.kt6
-rw-r--r--test/src/model/FunctionTest.kt2
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())