JS tests: fix testData files

This commit is contained in:
Zalim Bashorov
2014-09-30 23:18:48 +04:00
parent 9ac193407b
commit 5a63e34c19
18 changed files with 29 additions and 108 deletions
@@ -1,7 +1,5 @@
package foo
fun run<T>(f: () -> T) = f()
val r = "OK"
fun simple(s: String? = null): String {
@@ -1,7 +1,5 @@
package foo
fun run<T>(f: () -> T) = f()
fun funfun(): Boolean {
val result = true
@@ -1,7 +1,5 @@
package foo
fun run<T>(f: () -> T) = f()
class A {
val a = 12
var b = 1
@@ -1,7 +1,5 @@
package foo
fun run<T>(f: () -> T) = f()
fun box(): Boolean {
val t = run {
object {
@@ -1,7 +1,5 @@
package foo
fun run<T>(f: () -> T) = f()
fun box(): String {
fun simple(s: String? = null): String {
if (s != null) return s
@@ -1,7 +1,5 @@
package foo
fun run<T>(f: () -> T) = f()
class Foo {
val OK = "OK";
var result: String = ""
@@ -2,8 +2,6 @@
package foo
fun run<T>(f: Int.() -> T) = 1.f()
public class Foo(val trigger: () -> Any) {
fun test() = run {trigger()};
}
@@ -1,7 +1,5 @@
package foo
fun run<T>(f: ()->T) = f()
fun box(): String {
val t = run {
object {