aboutsummaryrefslogtreecommitdiff
path: root/test/src/model/FunctionTest.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-09-09 13:01:05 +0200
committerDmitry Jemerov <yole@jetbrains.com>2015-09-09 13:01:05 +0200
commit20ba46e50ef8324f2a51d5a545c5f96133bf366e (patch)
tree9969169ddc1976fe7c1e44d292360aa9616239b3 /test/src/model/FunctionTest.kt
parent53a7a79470a9a3a57dff05eadc8638b23a4d6fc6 (diff)
downloaddokka-20ba46e50ef8324f2a51d5a545c5f96133bf366e.tar.gz
dokka-20ba46e50ef8324f2a51d5a545c5f96133bf366e.tar.bz2
dokka-20ba46e50ef8324f2a51d5a545c5f96133bf366e.zip
default visibility is public
Diffstat (limited to 'test/src/model/FunctionTest.kt')
-rw-r--r--test/src/model/FunctionTest.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/model/FunctionTest.kt b/test/src/model/FunctionTest.kt
index bbb7cdbc..80ae223d 100644
--- a/test/src/model/FunctionTest.kt
+++ b/test/src/model/FunctionTest.kt
@@ -30,7 +30,7 @@ public class FunctionTest {
assertEquals("fn", name)
assertEquals(DocumentationNode.Kind.Function, kind)
assertEquals("Function with receiver", content.summary.toTestString())
- assertEquals("internal", details.elementAt(0).name)
+ assertEquals("public", details.elementAt(0).name)
assertEquals("final", details.elementAt(1).name)
with(details.elementAt(2)) {
assertEquals("<this>", name)
@@ -124,7 +124,7 @@ public class FunctionTest {
assertEquals("""Function
Documentation""", content.description.toTestString())
- assertEquals("internal", details.elementAt(0).name)
+ assertEquals("public", details.elementAt(0).name)
assertEquals("final", details.elementAt(1).name)
with(details.elementAt(2)) {
assertEquals("x", name)