willowtreeapps / assertk

assertions for kotlin inspired by assertj
MIT License
760 stars 85 forks source link

Make assertFailure inline #472

Closed ansman closed 1 year ago

ansman commented 1 year ago

This change makes assertFailure inline so it can be used to test suspending functions.

This fixes #471

evant commented 1 year ago

Might be good to add a test showing the usecase for this, ex: wrapping a failing suspend function

ansman commented 1 year ago

Done