aboutsummaryrefslogtreecommitdiff
path: root/test/src/model/FunctionTest.kt
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-14 22:27:34 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-14 22:27:34 +0400
commitc2c0910d611df770be1e3ef9d45cc4fb070d9e11 (patch)
treee3c81c265a899d1571c271dbfba8959824942be4 /test/src/model/FunctionTest.kt
parent93bd64fff14037ba350493b02701e8563fb92e4a (diff)
downloaddokka-c2c0910d611df770be1e3ef9d45cc4fb070d9e11.tar.gz
dokka-c2c0910d611df770be1e3ef9d45cc4fb070d9e11.tar.bz2
dokka-c2c0910d611df770be1e3ef9d45cc4fb070d9e11.zip
Fix tests
Diffstat (limited to 'test/src/model/FunctionTest.kt')
-rw-r--r--test/src/model/FunctionTest.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/src/model/FunctionTest.kt b/test/src/model/FunctionTest.kt
index 331c59ba..19769019 100644
--- a/test/src/model/FunctionTest.kt
+++ b/test/src/model/FunctionTest.kt
@@ -113,10 +113,10 @@ public class FunctionTest {
with(model.members.single().members.single()) {
assertEquals("function", name)
assertEquals(DocumentationNode.Kind.Function, kind)
- assertEquals("""Multiline
-Function
+ assertEquals("Multiline", doc.summary)
+ assertEquals("""Function
Documentation"""
- , doc.summary)
+ , doc.description)
assertEquals(4, details.count())
assertEquals("Unit", details.elementAt(0).name)