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

Unified Diff: tests/standalone/io/http_read_test.dart

Issue 12282038: Remove deprecated string features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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
Index: tests/standalone/io/http_read_test.dart
diff --git a/tests/standalone/io/http_read_test.dart b/tests/standalone/io/http_read_test.dart
index bb8a87a4f39c90fa7da2948e90fedaf7fad183ea..c88ad94824692a88ed684d6c45de281fafb842bb 100644
--- a/tests/standalone/io/http_read_test.dart
+++ b/tests/standalone/io/http_read_test.dart
@@ -173,7 +173,7 @@ void testReadInto(bool chunkedEncoding) {
request.outputStream.writeString(data.substring(10, data.length));
} else {
request.contentLength = data.length;
- request.outputStream.write(data.charCodes);
+ request.outputStream.write(data.codeUnits);
}
request.outputStream.close();
};
@@ -227,7 +227,7 @@ void testReadShort(bool chunkedEncoding) {
request.outputStream.writeString(data.substring(10, data.length));
} else {
request.contentLength = data.length;
- request.outputStream.write(data.charCodes);
+ request.outputStream.write(data.codeUnits);
}
request.outputStream.close();
};

Powered by Google App Engine
This is Rietveld 408576698