[FIR] refactoring: extract registration of lazy declaration resolve contract checking to a separate function in tests
This commit is contained in:
committed by
Space Team
parent
747ab5fdb3
commit
a55b4a977b
@@ -51,3 +51,7 @@ fun <T, R> ((TestServices, T) -> R).bind(value: T): Constructor<R> {
|
||||
fun <T1, T2, R> ((TestServices, T1, T2) -> R).bind(value1: T1, value2: T2): Constructor<R> {
|
||||
return { this.invoke(it, value1, value2) }
|
||||
}
|
||||
|
||||
fun <R> (() -> R).coerce(): Constructor<R> {
|
||||
return { this.invoke() }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user