Refactor debugger tests
1. Move tests to their own module 2. Avoid sharing the 'tinyApp' project between tests 3. Clean up option directive handling
This commit is contained in:
+12
-1
@@ -1,3 +1,4 @@
|
||||
// FILE: inlineFunction.kt
|
||||
package inlineFunction
|
||||
|
||||
import inlineFunctionOtherPackage.*
|
||||
@@ -13,4 +14,14 @@ inline fun foo() = 1
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: foo()
|
||||
// RESULT: 1: I
|
||||
// RESULT: 1: I
|
||||
|
||||
// FILE: lib.kt
|
||||
package inlineFunctionOtherPackage
|
||||
|
||||
inline fun myFun(f: () -> Int): Int = f()
|
||||
|
||||
val String.prop: String
|
||||
get() {
|
||||
return "a"
|
||||
}
|
||||
Reference in New Issue
Block a user