TestRunner support in test's build.gradle
* Fixes to tests * RunKonanTest runs tests build with TestRunner * Standalone tests
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
package codegen.inline.defaultArgs_linkTest.a
|
||||
package a
|
||||
|
||||
inline fun foo(x: Int, y: Int = 117) = x + y
|
||||
@@ -1,10 +1,6 @@
|
||||
package codegen.inline.defaultArgs_linkTest_main
|
||||
import a.*
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
import codegen.inline.defaultArgs_linkTest.a.*
|
||||
|
||||
@Test fun runTest() {
|
||||
fun main(args: Array<String>) {
|
||||
println(foo(5))
|
||||
println(foo(5, 42))
|
||||
}
|
||||
Reference in New Issue
Block a user