commit | 367a5bc256bd8979245223d2a76e89cb48241e50 | [log] [tgz] |
---|---|---|
author | James D. Lin <jamesderlin@users.noreply.github.com> | Wed May 27 21:13:01 2020 |
committer | GitHub <noreply@github.com> | Wed May 27 21:13:01 2020 |
tree | cdfe9db6bbbf95daecf1cc453716e96a2e64f136 | |
parent | 7803d616dca197db22dc4c76734dfddae6c02221 [diff] |
Make tests tolerate the new RangeError message (#144) Background: https://dart-review.googlesource.com/c/sdk/+/146024 Derive a custom version of RangeError so that we have full control over its toString instead of hardcoding details of the SDK.
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.