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

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

Issue 11464006: 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 e739a96adaa21707d87d6e3b71c6de4dd23edf37..33c9de2f69cd516247d0c3f4b910d2a49baa178c 100644
--- a/utils/tests/pub/oauth2_test.dart
+++ b/utils/tests/pub/oauth2_test.dart
@@ -27,7 +27,7 @@ main() {
expect(request.headers.value('authorization'),
equals('Bearer access token'));
- return closeHttpResponse(request, response);
+ response.outputStream.close();
});
pub.kill();
@@ -46,7 +46,7 @@ main() {
expect(request.headers.value('authorization'),
equals('Bearer access token'));
- return closeHttpResponse(request, response);
+ response.outputStream.close();
});
pub.kill();
@@ -83,7 +83,7 @@ main() {
expect(request.headers.value('authorization'),
equals('Bearer new access token'));
- return closeHttpResponse(request, response);
+ response.outputStream.close();
});
pub.shouldExit();
@@ -111,7 +111,7 @@ main() {
expect(request.headers.value('authorization'),
equals('Bearer new access token'));
- return closeHttpResponse(request, response);
+ response.outputStream.close();
});
pub.kill();
@@ -135,7 +135,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