assertk / assertk.assertions.support

Package assertk.assertions.support

Functions

(common, jvm)

expected

Fails an assert with the given expected message. These should be in the format:

fun <T> Assert<T>.expected(message: String, expected: Any? = NONE, actual: Any? = NONE): Nothing
(common, jvm)

fail

Fails an assert with the given expected and actual values.

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

show

Shows the primary value in a failure message.

fun show(value: Any?, wrap: String = "<>"): String