commit | 08e8d847782fea147b60309e3a6d45cdf890e7f1 | [log] [tgz] |
---|---|---|
author | ekupershlak <ekupershlak@google.com> | Thu Jun 11 19:58:27 2020 -0400 |
committer | GitHub <noreply@github.com> | Thu Jun 11 16:58:27 2020 -0700 |
tree | 385073a38e6eb26a8d95c24dbf46691feaecb974 | |
parent | 367a5bc256bd8979245223d2a76e89cb48241e50 [diff] |
Implement describeMismatch for TypeMatcher. (#146) This allows testing utilities that operate on matchers to provide descriptive errors when TypeMatcher does not match. Fixes #145
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.