diff options
Diffstat (limited to 'test/src')
-rw-r--r-- | test/src/model/KotlinAsJavaTest.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/model/KotlinAsJavaTest.kt b/test/src/model/KotlinAsJavaTest.kt index 0b609a2b..90ea13c8 100644 --- a/test/src/model/KotlinAsJavaTest.kt +++ b/test/src/model/KotlinAsJavaTest.kt @@ -16,7 +16,7 @@ class KotlinAsJavaTest { val fn = facadeClass.members.single() assertEquals("fn", fn.name) - assertEquals(DocumentationNode.Kind.CompanionObjectFunction, fn.kind) + assertEquals(DocumentationNode.Kind.Function, fn.kind) } } @@ -24,7 +24,7 @@ class KotlinAsJavaTest { verifyModelAsJava("test/data/comments/oneLineDoc.kt") { model -> val facadeClass = model.members.single().members.single { it.name == "OneLineDocKt" } val getter = facadeClass.members.single { it.name == "getProperty" } - assertEquals(DocumentationNode.Kind.CompanionObjectFunction, getter.kind) + assertEquals(DocumentationNode.Kind.Function, getter.kind) assertEquals("doc", getter.content.summary.toTestString()) } } |