All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.kotlin.ch.tutteli.atrium.logic.utils.lambdaHelpers.kt Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
package ch.tutteli.atrium.logic.utils

import ch.tutteli.atrium.creating.Expect

/**
 * Can be used in places where a
 * [lambda with receiver](https://kotlinlang.org/docs/reference/lambdas.html#function-literals-with-receiver)
 * is required where the receiver is of type [Expect]``.
 */
@Suppress("NOTHING_TO_INLINE")
inline fun  expectLambda(noinline assertionCreator: Expect.() -> Unit) = assertionCreator




© 2015 - 2024 Weber Informatics LLC | Privacy Policy