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
@@ -1,6 +1,6 @@
package foo
fun box(): Boolean {
fun box(): String {
val t = myRun {
object {
fun boo(param: String): String {
@@ -9,5 +9,5 @@ fun box(): Boolean {
}
}
return t.boo("OK") == "OK"
return t.boo("OK")
}
@@ -28,8 +28,11 @@ fun foo(f: () -> Unit) {
f()
}
fun box(): Boolean {
fun box(): String {
val a = A()
a.f()
return a.i == 6 && a.bar() == 32
if (a.i != 6) return "fail1: ${a.i}"
if (a.bar() != 32) return "fail2: ${a.bar()}"
return "OK"
}

Some files were not shown because too many files have changed in this diff Show More