JS: move more test to box tests

This commit is contained in:
Alexey Andreev
2016-08-29 12:37:13 +03:00
parent efb82a044f
commit cdf2212c73
70 changed files with 484 additions and 749 deletions
+19
View File
@@ -0,0 +1,19 @@
package foo
fun box(): String {
var c: Int = 0
js("""
for (var i = 1; i < 6; i++) {
if (i % 2 === 0) {
continue;
}
c++;
}
""")
assertEquals(3, c)
return "OK"
}