[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)
}
}
@@ -1,3 +1,4 @@
// NO_CHECK_LAMBDA_INLINING
// FILE: 1.kt
package test
@@ -14,7 +15,6 @@ class X {
}
// FILE: 2.kt
//NO_CHECK_LAMBDA_INLINING
import test.*
class A {
@@ -1,6 +1,7 @@
// FILE: 1.kt
// IGNORE_BACKEND: JS
// WITH_RUNTIME
// NO_CHECK_LAMBDA_INLINING
// FILE: 1.kt
// KJS_WITH_FULL_RUNTIME
package test
@@ -14,7 +15,6 @@ public inline fun <T, R : Any> Iterable<T>.mymapNotNull(transform: (T) -> R?): L
}
// FILE: 2.kt
// NO_CHECK_LAMBDA_INLINING
import test.*
var result = -1;
@@ -36,4 +36,4 @@ fun fff(): Int {
fun something(increase: (Int) -> Int, x: Int): Int? {
return increase(x)
}
}
@@ -14,4 +14,4 @@ object Foo {
fun box(): String {
return startFlow(Foo::Requester).dealToBeOffered
}
}
@@ -11,4 +11,4 @@ import test.*
fun box(): String {
val result = true.let2(Boolean::not)
return if (!result) "OK" else "fail"
}
}
@@ -14,4 +14,4 @@ import test.*
fun box(): String {
return test(Foo("OK"), Foo::a)
}
}
@@ -15,4 +15,4 @@ import test.*
fun box(): String {
return test(::a)
}
}