Index: pkg/unittest/lib/src/core_matchers.dart |
diff --git a/pkg/unittest/lib/src/core_matchers.dart b/pkg/unittest/lib/src/core_matchers.dart |
index 44356d2629c13f7692caba6395845c6c03ec8a9f..c412450012140c2a662649a142b4650c4a5feec4 100644 |
--- a/pkg/unittest/lib/src/core_matchers.dart |
+++ b/pkg/unittest/lib/src/core_matchers.dart |
@@ -483,18 +483,6 @@ class _ArgumentError extends TypeMatcher { |
bool matches(item, MatchState matchState) => item is ArgumentError; |
} |
-/** A matcher for IllegalJSRegExpExceptions. */ |
-const isIllegalJSRegExpException = const _IllegalJSRegExpException(); |
- |
-/** A matcher for functions that throw IllegalJSRegExpException. */ |
-const Matcher throwsIllegalJSRegExpException = |
- const Throws(isIllegalJSRegExpException); |
- |
-class _IllegalJSRegExpException extends TypeMatcher { |
- const _IllegalJSRegExpException() : super("IllegalJSRegExpException"); |
- bool matches(item, MatchState matchState) => item is IllegalJSRegExpException; |
-} |
- |
/** A matcher for RangeErrors. */ |
const isRangeError = const _RangeError(); |