| Index: utils/tests/pub/error_group_test.dart
|
| diff --git a/utils/tests/pub/error_group_test.dart b/utils/tests/pub/error_group_test.dart
|
| index 9d2d59e0fe41d0cccecdd93acaca97660cb004cf..c2f10fea199500bdc933becf2fb05442e8c4cba2 100644
|
| --- a/utils/tests/pub/error_group_test.dart
|
| +++ b/utils/tests/pub/error_group_test.dart
|
| @@ -451,16 +451,3 @@ main() {
|
| });
|
| });
|
| }
|
| -
|
| -// TODO(nweiz): remove this once it's built in to unittest (issue 7922).
|
| -/// A matcher for StateErrors.
|
| -const isStateError = const _StateError();
|
| -
|
| -/// A matcher for functions that throw StateError.
|
| -const Matcher throwsStateError =
|
| - const Throws(isStateError);
|
| -
|
| -class _StateError extends TypeMatcher {
|
| - const _StateError() : super("StateError");
|
| - bool matches(item, MatchState matchState) => item is StateError;
|
| -}
|
|
|