From 2717e8505a41e188d209b81a3150a16c64ca7239 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Thu, 4 Mar 2021 15:59:35 +0100 Subject: Obvious functions should also work for interfaces (#1763) --- plugins/kotlin-as-java/src/test/kotlin/JvmFieldTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/kotlin-as-java/src') diff --git a/plugins/kotlin-as-java/src/test/kotlin/JvmFieldTest.kt b/plugins/kotlin-as-java/src/test/kotlin/JvmFieldTest.kt index 154083d7..2f490421 100644 --- a/plugins/kotlin-as-java/src/test/kotlin/JvmFieldTest.kt +++ b/plugins/kotlin-as-java/src/test/kotlin/JvmFieldTest.kt @@ -30,7 +30,7 @@ class JvmFieldTest : BaseAbstractTest() { val classLike = module.packages.flatMap { it.classlikes }.first() assertNotNull(classLike.properties.firstOrNull { it.name == "property" }) assertEquals( - listOf("getOtherProperty", "equals", "hashCode", "toString"), + listOf("getOtherProperty"), classLike.functions.map { it.name }) } } -- cgit