JS: move more test to box tests
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
// FILE: A.kt
|
||||
package foo
|
||||
|
||||
open class A() {
|
||||
fun f() = 3
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return if ((A().f() + bar.A().f()) == 9) "OK" else "fail"
|
||||
}
|
||||
|
||||
|
||||
// FILE: B.kt
|
||||
package bar
|
||||
|
||||
open class A() {
|
||||
fun f() = 6
|
||||
}
|
||||
Reference in New Issue
Block a user