ea556ce428
We already have stepping tests for Kotlin/JVM. They are helpful for testing the correctness of the generated debugging information. They are better than line number tests in that they allow to test the _behavior_, not the generated data. The structure of the data may change even if the behavior stays the same. For that reason, stepping tests are more stable.
26 lines
275 B
Kotlin
Vendored
26 lines
275 B
Kotlin
Vendored
// MODULE: lib
|
|
// FILE: a.kt
|
|
|
|
fun a() = "a"
|
|
|
|
// FILE: b.kt
|
|
|
|
fun b() = "b"
|
|
|
|
// MODULE: main(lib)
|
|
// FILE: test.kt
|
|
|
|
fun box() {
|
|
a()
|
|
b()
|
|
}
|
|
|
|
// EXPECTATIONS
|
|
// test.kt:14 box
|
|
// a.kt:4 a
|
|
// test.kt:14 box
|
|
// test.kt:15 box
|
|
// b.kt:8 b
|
|
// test.kt:15 box
|
|
// test.kt:16 box
|