Fixes to tests: forgotten package names and tests
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package codegen.objectExpression.expr2
|
||||
import kotlin.test.*
|
||||
|
||||
@Test fun runTest() {
|
||||
val a = "a"
|
||||
|
||||
val x = object {
|
||||
override fun toString(): String {
|
||||
return foo {
|
||||
a
|
||||
}
|
||||
}
|
||||
|
||||
fun foo(lambda: () -> String) = lambda()
|
||||
}
|
||||
|
||||
print(x)
|
||||
}
|
||||
|
||||
fun print(x: Any) = println(x.toString())
|
||||
Reference in New Issue
Block a user