JS: move more test to box tests
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package foo
|
||||
|
||||
fun box(): String {
|
||||
var x = 2;
|
||||
do {
|
||||
x = 1;
|
||||
}
|
||||
while (3 < 2)
|
||||
if (x == 1) {
|
||||
return "OK"
|
||||
}
|
||||
return "fail: $x"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user