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

Unified Diff: utils/tests/pub/oauth2_test.dart

Issue 11528005: Reapply "Stop working around issue 6984." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 | « utils/pub/oauth2.dart ('k') | utils/tests/pub/pub_lish_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/oauth2_test.dart
diff --git a/utils/tests/pub/oauth2_test.dart b/utils/tests/pub/oauth2_test.dart
index d8d867a66bd484bcc4a4ea3376bb42e54833df6c..fdbf92bd341d2378e11dd2be7be2065890d718a0 100644
--- a/utils/tests/pub/oauth2_test.dart
+++ b/utils/tests/pub/oauth2_test.dart
@@ -32,7 +32,7 @@ main() {
expect(request.headers.value('authorization'),
equals('Bearer access token'));
- return closeHttpResponse(request, response);
+ response.outputStream.close();
});
pub.kill();
@@ -51,7 +51,7 @@ main() {
expect(request.headers.value('authorization'),
equals('Bearer access token'));
- return closeHttpResponse(request, response);
+ response.outputStream.close();
});
pub.kill();
@@ -88,7 +88,7 @@ main() {
expect(request.headers.value('authorization'),
equals('Bearer new access token'));
- return closeHttpResponse(request, response);
+ response.outputStream.close();
});
pub.shouldExit();
@@ -116,7 +116,7 @@ main() {
expect(request.headers.value('authorization'),
equals('Bearer new access token'));
- return closeHttpResponse(request, response);
+ response.outputStream.close();
});
pub.kill();
@@ -140,7 +140,7 @@ main() {
expect(request.headers.value('authorization'),
equals('Bearer new access token'));
- return closeHttpResponse(request, response);
+ response.outputStream.close();
});
pub.kill();
« no previous file with comments | « utils/pub/oauth2.dart ('k') | utils/tests/pub/pub_lish_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698