[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,12 +3,13 @@
|
||||
* that can be found in the LICENSE file.
|
||||
*/
|
||||
|
||||
package codegen.function.sum_func
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
fun foo():Int = 1
|
||||
//fun bar():Int = 2
|
||||
//fun sum():Int = foo() + bar()
|
||||
fun bar():Int = 2
|
||||
fun sum():Int = foo() + bar()
|
||||
|
||||
// FIXME: has no checks
|
||||
fun box(): String {
|
||||
assertEquals(3, sum())
|
||||
return "OK"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user