JS: move more test to box tests
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package foo
|
||||
|
||||
fun f(): Int {
|
||||
var x: Int = 1
|
||||
x = x + 1
|
||||
return x
|
||||
}
|
||||
|
||||
fun box() = if (f() == 2) "OK" else "fail"
|
||||
Reference in New Issue
Block a user