willowtreeapps / assertk

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

assertFailure isn't inline #471

Closed ansman closed 1 year ago

ansman commented 1 year ago

We have several usages of assertThat { ... } that test suspending functions. This works well with assertThat since it's inline but the new replacement, assertFailure, is not inlined so it cannot be used to test suspending functions.