From 20ba46e50ef8324f2a51d5a545c5f96133bf366e Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Wed, 9 Sep 2015 13:01:05 +0200 Subject: default visibility is public --- test/src/model/FunctionTest.kt | 4 ++-- test/src/model/PropertyTest.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'test/src/model') 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("", 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) diff --git a/test/src/model/PropertyTest.kt b/test/src/model/PropertyTest.kt index 38c3160f..405b260f 100644 --- a/test/src/model/PropertyTest.kt +++ b/test/src/model/PropertyTest.kt @@ -56,7 +56,7 @@ public class PropertyTest { assertEquals("String", detail(DocumentationNode.Kind.Type).name) val modifiers = details(DocumentationNode.Kind.Modifier).map { it.name } assertTrue("final" in modifiers) - assertTrue("internal" in modifiers) + assertTrue("public" in modifiers) assertTrue("var" in modifiers) assertTrue(links.none()) assertTrue(members.none()) -- cgit