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

Unified Diff: utils/tests/testrunner/http_client_tests/http_client_test.dart

Issue 22872012: Remove Encoding-enum from dart:io and add interface in dart:convert. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typo. Created 7 years, 4 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 | « utils/testrunner/pipeline_utils.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/testrunner/http_client_tests/http_client_test.dart
diff --git a/utils/tests/testrunner/http_client_tests/http_client_test.dart b/utils/tests/testrunner/http_client_tests/http_client_test.dart
index 0016ce4df0b2371b800dc99421f33b7f5a7648ce..452c1ab57b39a2493e12cb1b0d99f3e190f9e66c 100644
--- a/utils/tests/testrunner/http_client_tests/http_client_test.dart
+++ b/utils/tests/testrunner/http_client_tests/http_client_test.dart
@@ -21,7 +21,7 @@ main() {
// Process the response.
expect(response.statusCode, code);
var sb = new StringBuffer();
- response.transform(new StringDecoder())
+ response.transform(UTF8.decoder)
.listen((data) {
sb.write(data);
}, onDone: () {
« no previous file with comments | « utils/testrunner/pipeline_utils.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698