| Index: pkg/http/test/request_test.dart
 | 
| diff --git a/pkg/http/test/request_test.dart b/pkg/http/test/request_test.dart
 | 
| index e17589cc867129df53a32937de63e633015e862c..2e4c57013925bc06aff00e2dbee6c33b4ce37531 100644
 | 
| --- a/pkg/http/test/request_test.dart
 | 
| +++ b/pkg/http/test/request_test.dart
 | 
| @@ -215,10 +215,10 @@ void main() {
 | 
|  
 | 
|        var request = new http.Request('POST', serverUrl.resolve('/loop?1'))
 | 
|          ..maxRedirects = 2;
 | 
| -      var future = request.send().catchError((e) {
 | 
| +      var future = request.send().catchError((error) {
 | 
|          print("#maxRedirects test exception received");
 | 
| -        expect(e.error, isRedirectLimitExceededException);
 | 
| -        expect(e.error.redirects.length, equals(2));
 | 
| +        expect(error, isRedirectLimitExceededException);
 | 
| +        expect(error.redirects.length, equals(2));
 | 
|        });
 | 
|        expect(future.catchError((_) {}).then((_) {
 | 
|          print("#maxRedirects test stopping server...");
 | 
| 
 |