Compatibility with Arrow • opensavvy.prepared.compat.arrow.core • assertRaisesWith
assertRaisesWith
@ExperimentalTraceApiinline fun <Failure> assertRaisesWith(block: Raise<Any?>.() -> Any?)
Fails the test if block doesn't raise with a value of type Failure.