wasUpToDate

fun Expect<BuildTask?>.wasUpToDate(): Expect<BuildTask>

Expects that the subject of the assertion (a Gradle task) was invoked and that its outcome was UP_TO_DATE.

Return

An Expect with the non-nullable type BuildTask (was BuildTask? before).

Sources

(source)
Link copied to clipboard