unorderedMatches in cases where the matchers may match more than one element and order of the elements doesn't line up with the order of the matchers.
Add containsAll matcher for Iterables. This Matcher checks that all values/matchers in an expected iterable are satisfied by an element in the value without allowing the same value to satisfy multiple matchers.
pairwiseCompare generic methods to allow typed functions to be passed to them as arguments.
Make internal implementations take better advantage of type promotion to avoid dynamic call overhead.
Fixed small documentation issues.
Fixed small issue in
Update to support future Dart language changes.
CustomMatcher's feature throws.
Moved a number of members to the
fail, and ‘wrapAsync’.
getOrCreateExpectFailureHandler. Now that
expect is in the
unittest package, these are no longer needed.
name parameter for
isInstanceOf. This was previously deprecated, and is no longer necessary since all language implementations now support converting the type parameter to a string directly.
isInstanceOf. All language implementations now support converting the type parameter to a string directly.
Strings containing characters that must be represented as escape sequences.
isNotEmptymatchers and simply access the
isNotEmptyfields. This allows them to work with custom collections. See Issue 21792 and Issue 21562
printsmatcher test on dart2js.
printsmatcher that matches output a callback emits via
Refactored libraries and tests.
Fixed spelling mistake.
@deprecatedannotation on matchers due to Issue 19173
Matchers related to bad language use have been removed. These represent code structure that should rarely or never be validated in tests.
Added types to a number of method arguments.
The structure of the library and test code has been updated.