[TD] Update testdata according to previous commit

This commit is contained in:
Dmitriy Novozhilov
2021-01-27 12:22:36 +03:00
parent 3a0eee64b8
commit 64a300bfcd
453 changed files with 736 additions and 777 deletions
@@ -14,4 +14,4 @@ import test.*
fun box(): String {
return test(Foo("OK")::a)
}
}
@@ -17,4 +17,4 @@ fun String.test() : String {
fun box() : String {
return "O".test()
}
}
@@ -19,4 +19,4 @@ fun box(): String {
val a = A("OK")
val s = arrayOf("OK")
return s.filter(a::filter).first()
}
}
@@ -12,4 +12,4 @@ import test.*
fun box(): String {
return Z().run(Q()::f)
}
}
@@ -13,4 +13,4 @@ import test.*
fun box(): String {
val result = 1.map(2::plus)
return if (result == 3) "OK" else "fail $result"
}
}
@@ -13,4 +13,4 @@ import test.*
fun box(): String {
val result = 1.map(3L::plus)
return if (result == 4L) "OK" else "fail $result"
}
}
@@ -16,4 +16,4 @@ val Int.myInc
fun box(): String {
val result = map(2::myInc)
return if (result == 3) "OK" else "fail $result"
}
}
@@ -15,4 +15,4 @@ val Long.myInc
fun box(): String {
val result = map(2L::myInc)
return if (result == 3L) "OK" else "fail $result"
}
}
@@ -19,4 +19,4 @@ fun box(): String {
val a = A("O")
val s = arrayOf("K")
return s.map(a::map).first()
}
}
@@ -20,4 +20,4 @@ private val foo = Foo()
fun box(): String {
val result = inlineFn("a", foo::foo, 5, foo::foo2, "end")
return if (result == "aOK5OK2end") "OK" else "fail: $result"
}
}
@@ -16,4 +16,4 @@ import test.*
fun box(): String {
return test(Foo::a)
}
}
@@ -17,4 +17,4 @@ import test.test
fun box(): String {
return test(::a)
}
}
@@ -27,4 +27,4 @@ fun box(): String {
if (result != effects) return "fail 1: $effects != $result"
return if (result == "ABCD") "OK" else "fail 2: $result"
}
}
@@ -17,4 +17,4 @@ import test.*
fun box(): String {
return test(Foo("OK")::a)
}
}