| Index: pkg/unittest/core_matchers.dart
|
| diff --git a/pkg/unittest/core_matchers.dart b/pkg/unittest/core_matchers.dart
|
| index 3da9b019546b453ab46869d26a9631133a61d084..3e76a5bffc4d0395de5a6bfa72e53fce7918626b 100644
|
| --- a/pkg/unittest/core_matchers.dart
|
| +++ b/pkg/unittest/core_matchers.dart
|
| @@ -459,16 +459,16 @@ class _IndexOutOfRangeException extends _ExceptionMatcher {
|
| bool matches(item, MatchState matchState) => item is IndexOutOfRangeException;
|
| }
|
|
|
| -/** A matcher for NoSuchMethodExceptions. */
|
| -const isNoSuchMethodException = const _NoSuchMethodException();
|
| +/** A matcher for NoSuchMethodErrors. */
|
| +const isNoSuchMethodError = const _NoSuchMethodError();
|
|
|
| -/** A matcher for functions that throw NoSuchMethodException */
|
| -const Matcher throwsNoSuchMethodException =
|
| - const _Throws(isNoSuchMethodException);
|
| +/** A matcher for functions that throw NoSuchMethodError */
|
| +const Matcher throwsNoSuchMethodError =
|
| + const _Throws(isNoSuchMethodError);
|
|
|
| -class _NoSuchMethodException extends _ExceptionMatcher {
|
| - const _NoSuchMethodException() : super("NoSuchMethodException");
|
| - bool matches(item, MatchState matchState) => item is NoSuchMethodException;
|
| +class _NoSuchMethodError extends _ExceptionMatcher {
|
| + const _NoSuchMethodError() : super("NoSuchMethodError");
|
| + bool matches(item, MatchState matchState) => item is NoSuchMethodError;
|
| }
|
|
|
| /** A matcher for NotImplementedExceptions. */
|
|
|