Would someone be happy to do a quick sanity check ...
# kotest
r
Would someone be happy to do a quick sanity check on my usage of assertions in this snippet? I feel like either my
satisfy
matcher should already be in the assertions library, or else there's a better pattern to be used...
I'm probably over complicating things by using a
Matcher<T>
- going with this I think:
a
if you want to build your own custom assertion, can you just use
fail
or `failSoftly`:
Copy code
if(yourCondition) {
    failSoftly("your message")
}