Skip to content

package:checks v0.3.2

Choose a tag to compare

@natebosch natebosch released this 04 Sep 21:19
· 31 commits to master since this release
2c431ed
  • Bump test dev dependency constraint.
  • Add isNotA<R>() check extension as a convenience in place of
    not((it) => it.isA<R>()).
  • Require Dart 3.11
  • Improve speed of pretty printing for large collections.
  • Improve formatting for failures involving unexpected exceptions.
  • Improve formatting for failed String equality checks - indent string diff
    lines.
  • Fix a bug when using asynchronous conditions with mayEmit or
    mayEmitMultiple. Note that extensions using nestAsync should synchronously
    forward exceptions from that call.
  • Fix a bug when printing a failure message involving a value that returns an
    empty output from toString().
  • Annotated async expectations with @awaitNotRequired since tests are safely
    held open until expectations complete so it's not always necessary to
    explicitly await them.
  • Output more compact failure messages for simple expectations.