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

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

Issue 11801008: Fix tests for VM in checked mode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add missing expectAsync1 Created 7 years, 11 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/test/http_test.dart ('k') | pkg/oauth2/test/authorization_code_grant_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
print("#maxRedirects test exception received");
expect(e.error, isRedirectLimitExceededException);
expect(e.error.redirects.length, equals(2));
« no previous file with comments | « pkg/http/test/http_test.dart ('k') | pkg/oauth2/test/authorization_code_grant_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698