aboutsummaryrefslogtreecommitdiff
path: root/plugins/kotlin-as-java/src/test/kotlin/KotlinAsJavaPluginTest.kt
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-02-16 21:15:02 +0100
committerGitHub <noreply@github.com>2021-02-16 21:15:02 +0100
commit1c78ecebfb6fc2b24c64c13f7e85218b01a7a69b (patch)
treecbd27431b6ac40f74ef6526861fa8b2543741b7a /plugins/kotlin-as-java/src/test/kotlin/KotlinAsJavaPluginTest.kt
parent116179e26a60d1b98d842ff6decc6119062475ae (diff)
downloaddokka-1c78ecebfb6fc2b24c64c13f7e85218b01a7a69b.tar.gz
dokka-1c78ecebfb6fc2b24c64c13f7e85218b01a7a69b.tar.bz2
dokka-1c78ecebfb6fc2b24c64c13f7e85218b01a7a69b.zip
Fix displaying default java visibility (#1738)
Diffstat (limited to 'plugins/kotlin-as-java/src/test/kotlin/KotlinAsJavaPluginTest.kt')
-rw-r--r--plugins/kotlin-as-java/src/test/kotlin/KotlinAsJavaPluginTest.kt10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/kotlin-as-java/src/test/kotlin/KotlinAsJavaPluginTest.kt b/plugins/kotlin-as-java/src/test/kotlin/KotlinAsJavaPluginTest.kt
index 760bfcff..9678d556 100644
--- a/plugins/kotlin-as-java/src/test/kotlin/KotlinAsJavaPluginTest.kt
+++ b/plugins/kotlin-as-java/src/test/kotlin/KotlinAsJavaPluginTest.kt
@@ -113,10 +113,10 @@ class KotlinAsJavaPluginTest : BaseAbstractTest() {
|
|fun testF(i: Int) = i
|/src/main/kotlin/kotlinAsJavaPlugin/TestJ.java
- |package kotlinAsJavaPlugin
+ |package kotlinAsJavaPlugin;
|
- |class TestJ {
- | int testF(int i) { return i; }
+ |public class TestJ {
+ | public int testF(int i) { return i; }
|}
""".trimMargin(),
configuration,
@@ -206,9 +206,9 @@ class KotlinAsJavaPluginTest : BaseAbstractTest() {
testInline(
"""
|/src/main/kotlin/kotlinAsJavaPlugin/TestJ.java
- |package kotlinAsJavaPlugin
+ |package kotlinAsJavaPlugin;
|
- |class TestJ {
+ |public class TestJ {
| public Int publicProperty = 1;
|}
""".trimMargin(),