can i verify with kotlintest, no exception thrown?
# kotlintest
s
can i verify with kotlintest, no exception thrown?
t
Sure, have a look at the
shouldNotThrow
function :
Copy code
shouldNotThrow<Exception> {
    foo()
}
👍 2