commit | 98bd8b58b989d4683f69547d8bf2843062197e7e | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@google.com> | Wed Jun 13 13:55:44 2018 -0700 |
committer | Kevin Moore <kevmoo@users.noreply.github.com> | Thu Jun 14 13:32:45 2018 -0700 |
tree | 04243340416036adc64e79eab7b2c0f5c423a96f | |
parent | 6d8d0170256da2f332b7910263941016a4cf782a [diff] |
fix: Improve the output of many matchers that expect specific types - Add a package-private FeatureMatcher class to generalize type checking - Use it across many of the existing Matcher implementations - Update tests validate new, more consistent failure messages - Add a few new tests for `isIn`
Support for specifying test expectations, such as for unit tests.
The matcher library provides a third-generation assertion mechanism, drawing inspiration from Hamcrest.
For more information, see Unit Testing with Dart.