kotest-assertions / io.kotest.assertions.throwables / shouldNotThrowMessage

shouldNotThrowMessage

inline fun <T> shouldNotThrowMessage(message: String, block: () -> T): Unit

Verifies that a block of code does not throws any Throwable with given message.