JS: create new common directory for all generated tests, migrate several tests there
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package foo
|
||||
|
||||
inline fun block(p: () -> Int) = p()
|
||||
|
||||
fun createFunction(x: Int): () -> Int = { x }
|
||||
|
||||
fun box(): String {
|
||||
assertEquals(23, block(createFunction(23)))
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user