Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(741)

Unified Diff: pkg/unittest/test/matchers_test.dart

Issue 12317130: Remove deprecated IllegalJSRegExpException class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/unittest/lib/src/core_matchers.dart ('k') | runtime/lib/regexp.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/test/matchers_test.dart
diff --git a/pkg/unittest/test/matchers_test.dart b/pkg/unittest/test/matchers_test.dart
index 71cdb6b4394dc603bcbdf33c78a98b7ae0e175cb..b11f7a6dca180aedca1149189b4c381c894b2a5e 100644
--- a/pkg/unittest/test/matchers_test.dart
+++ b/pkg/unittest/test/matchers_test.dart
@@ -158,16 +158,6 @@ void main() {
"ArgumentError.");
});
- test('throwsIllegalJSRegExpException', () {
- shouldPass(() { throw new IllegalJSRegExpException('',''); },
- throwsIllegalJSRegExpException);
- shouldFail(() { throw new Exception(); },
- throwsIllegalJSRegExpException,
- "Expected: throws an exception which matches IllegalJSRegExpException "
- "but: exception <Exception> does not match "
- "IllegalJSRegExpException.");
- });
-
test('throwsRangeError', () {
shouldPass(() { throw new RangeError(0); },
throwsRangeError);
« no previous file with comments | « pkg/unittest/lib/src/core_matchers.dart ('k') | runtime/lib/regexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698