Skip to content

0.4.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@hovinen hovinen released this 24 Mar 10:38
· 530 commits to main since this release

API additions

  • A new method times on the matcher contains_substring allows asserting on the number of times the actual string contains the given substring.
  • The enum MatcherResult can now be converted to and from bool (representing MatcherResult::Matches) via the Into and From traits.

Bugfixes

  • Using both #[google_test] and #[rstest] on a test should no longer result in problems with compilation. This is a partial fix for #77, as much as is possible within this library alone. The rest of clarified in the documentation.