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

Unified Diff: pkg/http/test/utils.dart

Issue 15821013: Remove references to RedirectLimitExceededException. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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/http/lib/src/base_request.dart ('k') | sdk/lib/io/http.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/http/test/utils.dart
diff --git a/pkg/http/test/utils.dart b/pkg/http/test/utils.dart
index 5c7cc0262dfcf90ea8566416608c32ca98e7f5bc..6d86985126b92660275c570fa255e4b5d683d3a5 100644
--- a/pkg/http/test/utils.dart
+++ b/pkg/http/test/utils.dart
@@ -193,7 +193,7 @@ class _RedirectLimitExceededException extends TypeMatcher {
super("RedirectLimitExceededException");
bool matches(item, MatchState matchState) =>
- item is RedirectLimitExceededException;
+ item is RedirectException && item.message == "Redirect limit exceeded";
}
/// A matcher for SocketExceptions.
« no previous file with comments | « pkg/http/lib/src/base_request.dart ('k') | sdk/lib/io/http.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698