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