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`
13 files changed
tree: 04243340416036adc64e79eab7b2c0f5c423a96f
  1. lib/
  2. test/
  3. .gitignore
  4. .test_config
  5. .travis.yml
  6. analysis_options.yaml
  7. CHANGELOG.md
  8. codereview.settings
  9. LICENSE
  10. pubspec.yaml
  11. README.md
README.md

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.