[K/N][Tests] Adjust moved codegen tests to new infra
^KT-61259
This commit is contained in:
committed by
Space Team
parent
71a834b778
commit
73032213f0
+3
-5
@@ -3,8 +3,6 @@
|
||||
* that can be found in the LICENSE file.
|
||||
*/
|
||||
|
||||
package codegen.inline.inline20
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
@@ -13,9 +11,9 @@ inline fun bar(block: () -> String) : String {
|
||||
}
|
||||
|
||||
fun bar2() : String {
|
||||
return bar { return "def" }
|
||||
return bar { return "OK" }
|
||||
}
|
||||
|
||||
@Test fun runTest() {
|
||||
println(bar2())
|
||||
fun box(): String {
|
||||
return bar2()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user