From a3ec2e2afd6f4140ac78f7630fa9c2ca1f8ca8af Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Tue, 12 Jan 2016 16:14:21 +0100 Subject: generate signature-based anchors for overloads; use signature instead of name as an anchor for in-page links --- core/src/test/kotlin/model/FunctionTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src/test/kotlin/model/FunctionTest.kt') 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()) } -- cgit