[K/N][Tests] Adjust moved tests interfaceCallsNCasts..vector to new infra
^KT-61259
This commit is contained in:
committed by
Space Team
parent
93642020ff
commit
bb8a7b6795
+12
-5
@@ -3,18 +3,25 @@
|
||||
* that can be found in the LICENSE file.
|
||||
*/
|
||||
|
||||
package codegen.lambda.lambda11
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
@Test fun runTest() {
|
||||
val sb = StringBuilder()
|
||||
|
||||
fun box(): String {
|
||||
val first = "first"
|
||||
val second = "second"
|
||||
|
||||
run {
|
||||
println(first)
|
||||
println(second)
|
||||
sb.appendLine(first)
|
||||
sb.appendLine(second)
|
||||
}
|
||||
|
||||
assertEquals("""
|
||||
first
|
||||
second
|
||||
|
||||
""".trimIndent(), sb.toString())
|
||||
return "OK"
|
||||
}
|
||||
|
||||
fun run(f: () -> Unit) {
|
||||
|
||||
Reference in New Issue
Block a user