mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 08:31:38 +00:00
Support per files test directives
This commit is contained in:
committed by
Mikhail Bogdanov
parent
34547b4e27
commit
ab7e71fd68
@@ -1,12 +1,12 @@
|
||||
// TODO: split SKIP_INLINE_CHECK_IN by files
|
||||
// SKIP_INLINE_CHECK_IN: bar$default, foo$default
|
||||
// FILE: 1.kt
|
||||
// SKIP_INLINE_CHECK_IN: bar$default
|
||||
package test
|
||||
|
||||
inline fun bar(f: () -> String = { "OK" }) = f()
|
||||
// FILE: 2.kt
|
||||
|
||||
import test.*
|
||||
// SKIP_INLINE_CHECK_IN: foo$default
|
||||
inline fun foo(f: () -> String = { bar() }) = f()
|
||||
|
||||
fun box(): String {
|
||||
|
||||
Reference in New Issue
Block a user