| 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.
|
|
|