aboutsummaryrefslogtreecommitdiff
path: root/test/src/TopLevelFunctionTest.kt
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/TopLevelFunctionTest.kt')
-rw-r--r--test/src/TopLevelFunctionTest.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/TopLevelFunctionTest.kt b/test/src/TopLevelFunctionTest.kt
index 02150784..342708f2 100644
--- a/test/src/TopLevelFunctionTest.kt
+++ b/test/src/TopLevelFunctionTest.kt
@@ -7,7 +7,7 @@ import com.jetbrains.dokka.*
public class TopLevelFunctionTest {
Test fun function() {
- verifyFiles("test/data/functions/function.kt") { model ->
+ verifyModel("test/data/functions/function.kt") { model ->
val item = model.nodes.single().members.single()
assertEquals(DocumentationNodeKind.Function, item.kind)
assertEquals("fn", item.name)
@@ -19,7 +19,7 @@ public class TopLevelFunctionTest {
}
Test fun functionWithParams() {
- verifyFiles("test/data/functions/functionWithParams.kt") { model ->
+ verifyModel("test/data/functions/functionWithParams.kt") { model ->
val item = model.nodes.single().members.single()
assertEquals(DocumentationNodeKind.Function, item.kind)
assertEquals("function", item.name)