JS: move more test to box tests
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package foo
|
||||
|
||||
object State {
|
||||
val c = 2
|
||||
val b = 1
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
if (State.c != 2) return "fail1: ${State.c}"
|
||||
if (State.b != 1) return "fail2: ${State.b}"
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user