From 1c78ecebfb6fc2b24c64c13f7e85218b01a7a69b Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Tue, 16 Feb 2021 21:15:02 +0100 Subject: Fix displaying default java visibility (#1738) --- .../kotlin-as-java/src/test/kotlin/KotlinAsJavaPluginTest.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/kotlin-as-java/src/test/kotlin/KotlinAsJavaPluginTest.kt') 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(), -- cgit