JS: move more test to box tests
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
package foo
|
||||
|
||||
@library class A() {
|
||||
@library fun f() {
|
||||
}
|
||||
@library fun f(a: Int) {
|
||||
}
|
||||
}
|
||||
|
||||
@library fun getResult() = false
|
||||
|
||||
fun box(): String {
|
||||
val a = A()
|
||||
a.f()
|
||||
a.f(2)
|
||||
return if (getResult()) "OK" else "fail"
|
||||
}
|
||||
Reference in New Issue
Block a user