diff options
Diffstat (limited to 'core/src/test/kotlin')
-rw-r--r-- | core/src/test/kotlin/model/ClassTest.kt | 2 | ||||
-rw-r--r-- | core/src/test/kotlin/model/FunctionTest.kt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/test/kotlin/model/ClassTest.kt b/core/src/test/kotlin/model/ClassTest.kt index 0a824f1c..d4e6f26b 100644 --- a/core/src/test/kotlin/model/ClassTest.kt +++ b/core/src/test/kotlin/model/ClassTest.kt @@ -51,7 +51,7 @@ public class ClassTest { assertEquals("name", name) assertEquals(NodeKind.Parameter, kind) assertEquals(Content.Empty, content) - assertEquals("String", details.single().name) + assertEquals("String", detail(NodeKind.Type).name) assertTrue(links.none()) assertTrue(members.none()) } 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()) } |