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