JS: create new common directory for all generated tests, migrate several tests there

This commit is contained in:
Alexey Andreev
2016-08-26 16:44:48 +03:00
parent 34a57f863b
commit 2bf0199959
321 changed files with 2123 additions and 2001 deletions
@@ -0,0 +1,31 @@
package foo
val f = true
fun box(): String {
var bar = ""
var boo = 23
fun baz() {
bar += "test "
if (f) {
val v1 = 42
var bar = 12
bar += v1
val v2 = 7
var boo = ""
boo += v2
}
boo += 7
bar += "text"
}
baz()
if (bar != "test text") return "bar != \"test text\", bar = \"$bar\"";
if (boo != 30) return "boo != 61, boo = $boo";
return "OK"
}