Releases: hovinen/test-that
Releases · hovinen/test-that
v0.3.0
-
The macro-based matchers, including
matches_pattern!,result_of!,field!,contains_exactly!,contains_each!, andis_contained_in!now support the same shorthand notation for matching containers asverify_that!and friends:let value = AStruct { a_vec: vec![1, 2, 3] }; verify_that!(value, matches_pattern!(AStruct { a_vec: [eq(1), eq(2), eq(3)] }))
-
New matchers
is_finiteandis_infinite(6fc1d42). -
String matcher now supports ignoring Unicode case with
ignoring_unicode_case()(0a1b639).
v0.2.0
Enhancements:
- Made all dependencies optional, so --no-default-features has no dependencies at all (858cfa1, 692762f, b4311db, ef39af1, ba0e0f4)
- Added support for nostd environments (9492054)
- Various documentation fixes and improvements (6ef9cb6, a7f5baf, c6de95e, 3782f5e, 4f02faf, 600e257, 4f34953)
Breaking changes:
- MSRV is now 1.81.0 (ef39af1)
- Since all dependencies are now optional, they are no longer compiled when --no-default-features is set. Any functionality using optinoal dependencies must then be explicitly added back in.