ExtractionTest: Change test data layout
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class A {
|
||||
fun foo() = 1
|
||||
}
|
||||
fun apply(x: (A) -> Int) = 2
|
||||
fun test() {
|
||||
val function: (A) -> Int = { it.foo() }
|
||||
apply(function)
|
||||
}
|
||||
Reference in New Issue
Block a user