BC native tests port to Konan's TestRunner
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
package codegen.function.defaults8
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
class Foo {
|
||||
fun test(x: Int = 1) = x
|
||||
}
|
||||
@@ -6,6 +10,6 @@ class Bar {
|
||||
fun test(x: Int = 2) = x
|
||||
}
|
||||
|
||||
fun main(args : Array<String>) {
|
||||
@Test fun runTest() {
|
||||
println(Bar().test())
|
||||
}
|
||||
Reference in New Issue
Block a user