JS: move more test to box tests
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package foo
|
||||
|
||||
class Test() {
|
||||
var a: Int
|
||||
init {
|
||||
a = 3
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return if (Test().a == 3) "OK" else "fail"
|
||||
}
|
||||
Reference in New Issue
Block a user