Chromium Code Reviews| Index: pkg/http/test/request_test.dart |
| diff --git a/pkg/http/test/request_test.dart b/pkg/http/test/request_test.dart |
| index 1d805aa4ffbcb2583cb8e97eb0600ecf7e20aee2..14b596bb658257cd6e5e22d72df57182bc5ce267 100644 |
| --- a/pkg/http/test/request_test.dart |
| +++ b/pkg/http/test/request_test.dart |
| @@ -215,7 +215,7 @@ void main() { |
| var request = new http.Request('POST', serverUrl.resolve('/loop?1')) |
| ..maxRedirects = 2; |
| - var future = request.send().catchError((AsyncError e) { |
| + var future = request.send().catchError((e) { |
|
Mads Ager (google)
2013/01/07 11:56:44
Should there be an expectAsync1 here?
Anders Johnsen
2013/01/07 11:59:22
Yes, adding.
|
| print("#maxRedirects test exception received"); |
| expect(e.error, isRedirectLimitExceededException); |
| expect(e.error.redirects.length, equals(2)); |