0.3.0 ☰
- Full support for Rust 2018 edition. No more
#[macro_use]
or deprecation warnings for modern idioms. This might have broken some usage of APIs that have been deprecated for many months now, thus bumping to 0.3.0. #10
0.2.6 ☰
- The previous version introduced support for reference arguments and this
broke
equal_to
for slices. Thus, automatic ref argument support forequal_to
has been reverted.
0.2.4 ☰
contains
matcher is now generic and supports both collection and single item arguments; thus, bothcontains(vec![5])
andcontains(5)
work- Almost all matchers now support reference arguments as well!
0.2.3 ☰
contains
,empty
andlen
matchers now work for slices, not just vectors
0.2.2 ☰
- Added the
empty
matcher
0.2.1 ☰
- Better message for expected output for
ok
,err
,some
andnone
matchers
0.2.0 ☰
- Created real crate docs with doctests
- added
ok
anderr
matchers of_len!
is nowlen!
any_of!
is nowany!
all_of!
is nowall!
existing_path
is nowpath_exists
existing_file
is nowfile_exists
existing_dir
is nowdir_exists
0.1.6 ☰
- Shorter names for common matchers:
eq
forequal_to
lt
forless_than
gt
forgreater_than
- similarly,
geq
,leq
etc
- Restructured examples in README to reduce verbosity
- Added
some
matcher - Added
has
matcher (likecontains
but forOption
andResult
!)
0.1.5 ☰
- Implemented matcher trait for boolean values, #48
0.1.4 ☰
- Logical matchers
all_of
,any_of
, comparison matcherstype_of
,anything
, #47
0.1.3 ☰
- Comparison matchers
less_than
,less_than_or_equal_to
,greater_than
,greater_than_or_equal_to
. #43 in_order
option forcontains
. #44
0.1.2 ☰
- Added the
assert_that!
macro. It produces better error messages (with correct file and line number). - Deprecated the
assert_that
function. - Improvements to
Cargo.toml
(by @killercup)
0.1.1 ☰
- Licensing change. The crate is now dual licensed under the MIT and Apache 2 licenses.
- Adds the
prelude
submodule to simplify inclusion of all matchers. matches_regex
matcher