Join Slack
Powered by
can i verify with kotlintest, no exception thrown?
# kotlintest
s
Sergio Crespo Toubes
05/16/2019, 7:57 AM
can i verify with kotlintest, no exception thrown?
t
tseisel
05/16/2019, 8:05 AM
Sure, have a look at the
shouldNotThrow
function :
Copy code
shouldNotThrow<Exception> { foo() }
👍 2
2
Views
Open in Slack
Previous
Next