assertk.assertions.support / expected

expected

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

Platform and version requirements: Common

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

expected("to be:${show(expected)} but was:${show(actual)}")

-> "expected to be: <1> but was <2>"