JS tests: fix testData files
This commit is contained in:
@@ -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
|
||||
|
||||
-2
@@ -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
|
||||
|
||||
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user