Skip to content

v0.7.1

Latest

Choose a tag to compare

@lpotthast lpotthast released this 02 Sep 11:08
· 30 commits to main since this release

Added

  • Assertion failures capture the asserted expression from assert_that!, assert_that_owned!, and
    assert_that_type and display it in a backticked Expression: field. The fluent feature provides
    #[assertr::fluent_expressions] for scoped expression capture on must, must_owned, verify, and verify_owned
    calls, including through a renamed assertr dependency, without changing ordinary method resolution for same-named
    user methods. It handles calls written directly in the annotated syntax, including macro invocations used as the
    receiver, but not fluent calls produced by later macro expansion. Derived child assertions start without the root
    expression because they represent a new diagnostic subject.

Changed

  • assertr-derive: Bumped to 0.4.1.