Cleanup deprecated symbol usages in testData
This commit is contained in:
Vendored
+1
-1
@@ -11,7 +11,7 @@ private fun test() = "K"
|
||||
fun box(): String {
|
||||
|
||||
val clazz = Class.forName("test.TestKt")
|
||||
assertEquals(1, clazz.declaredMethods.size(), "Facade should have only box and getProp methods")
|
||||
assertEquals(1, clazz.declaredMethods.size, "Facade should have only box and getProp methods")
|
||||
assertEquals("box", clazz.declaredMethods.first().name, "Facade should have only box method")
|
||||
|
||||
return {
|
||||
|
||||
Vendored
+1
-1
@@ -13,7 +13,7 @@ private fun test() = "K"
|
||||
fun box(): String {
|
||||
|
||||
val clazz = Class.forName("test.TestKt")
|
||||
assertEquals(2, clazz.declaredMethods.size(), "Facade should have only box method")
|
||||
assertEquals(2, clazz.declaredMethods.size, "Facade should have only box method")
|
||||
val methods = clazz.declaredMethods.map { it.name }
|
||||
assertTrue(methods.contains("box"), "Facade should have box method")
|
||||
assertTrue(methods.contains("getProp"), "Facade should have box method")
|
||||
|
||||
Reference in New Issue
Block a user