shouldNotThrow* assertions should return value and not Unit #3972
Amejonah1200
started this conversation in
6.0 changes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello o7
I'm new to kotest and found something bothering me: why do
shouldNotThrow*
(without Unit) not return a value?It would be helpful when dealing with methods which instead of giving a Result, they throw on error and return T.
Technically, I would say "same goes for tests too"...
Beta Was this translation helpful? Give feedback.
All reactions