aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/model/FunctionTest.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2016-01-12 16:14:21 +0100
committerDmitry Jemerov <yole@jetbrains.com>2016-01-12 16:14:21 +0100
commita3ec2e2afd6f4140ac78f7630fa9c2ca1f8ca8af (patch)
treec0a87789124c2fff312c5b32f1a4e6815129abca /core/src/test/kotlin/model/FunctionTest.kt
parent99b6196bde4773fd26bd733ecf5e3984ce0a4c63 (diff)
downloaddokka-a3ec2e2afd6f4140ac78f7630fa9c2ca1f8ca8af.tar.gz
dokka-a3ec2e2afd6f4140ac78f7630fa9c2ca1f8ca8af.tar.bz2
dokka-a3ec2e2afd6f4140ac78f7630fa9c2ca1f8ca8af.zip
generate signature-based anchors for overloads; use signature instead of name as an anchor for in-page links
Diffstat (limited to 'core/src/test/kotlin/model/FunctionTest.kt')
-rw-r--r--core/src/test/kotlin/model/FunctionTest.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/test/kotlin/model/FunctionTest.kt b/core/src/test/kotlin/model/FunctionTest.kt
index 0a65b640..af85d569 100644
--- a/core/src/test/kotlin/model/FunctionTest.kt
+++ b/core/src/test/kotlin/model/FunctionTest.kt
@@ -130,7 +130,7 @@ Documentation""", content.description.toTestString())
assertEquals("x", name)
assertEquals(NodeKind.Parameter, kind)
assertEquals("parameter", content.summary.toTestString())
- assertEquals("Int", details.single().name)
+ assertEquals("Int", detail(NodeKind.Type).name)
assertTrue(members.none())
assertTrue(links.none())
}