assertk.assertions.support / fail

fail

fun <T> Assert<T>.fail(expected: Any?, actual: Any?): Unit

Platform and version requirements: Common

Fails an assert with the given expected and actual values.